blob: 834a39e8012c51922c008702f440325a8cdbd311 [file] [log] [blame]
<!DOCTYPE html>
<link href="resources/grid.css" rel="stylesheet">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
.grid {
grid: 100px / 50px;
}
</style>
<p>This test checks that getting computed style of grid shorthand does not crash.</p>
<div id="grid" class="grid">
</div>
<script>
var grid = document.getElementById("grid");
getComputedStyle(grid).grid;
</script>