blob: 68a21680d4b0a02c7ac87cbfc2b26c63021220ad [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 shorthand from JavaScript doesn't cause an infinite loop.</p>
<div class="grid">
<div id="item"></div>
</div>
<script>
var item = document.getElementById("item");
item.style.gridTemplate = '10px / "a"';
item.style.gridTemplate = '"a b" "a b"';
</script>