3 <link href=
"resources/grid.css" rel=
"stylesheet">
6 grid-auto-rows: minmax(min-content,
9px);
7 grid-auto-columns: min-content;
10 .firstRowFirstColumn {
14 <script src=
"../../resources/js-test.js"></script>
15 <script type=
"text/javascript">
16 if (window
.testRunner
)
17 testRunner
.dumpAsText();
18 document
.addEventListener("DOMContentLoaded", crash
, false);
21 var grid
= document
.getElementById("grid");
22 shouldBeEqualToString("window.getComputedStyle(grid, '').getPropertyValue('grid-template-rows')", "10px");
24 var child
= document
.createElement("div");
25 child
.className
= "firstRowFirstColumn";
26 child
.innerHTML
= "XXXX XXXX";
27 grid
.appendChild(child
);
28 shouldBeEqualToString("window.getComputedStyle(grid, '').getPropertyValue('grid-template-rows')", "20px");
33 <p>The test has passed if it does not CRASH in Debug builds.
</p>
34 <div class=
"grid" id=
"grid">
35 <div class=
"firstRowFirstColumn">XXXX
</div>