blob: f63bdd34b8cdd5605e50eaf92df0d0a4c0b79795 [file] [log] [blame]
<!DOCTYPE html>
<link href="resources/grid.css" rel="stylesheet">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</style>
<p>This test checks that setting grid-template-areas from JavaScript doesn't cause an infinite loop.</p>
<div id="grid">
</div>
<script>
var grid = document.getElementById("grid");
grid.style.gridTemplateAreas = '"a"';
grid.style.gridTemplateAreas = '"b"';
</script>