3 <link href=
"resources/grid.css" rel=
"stylesheet">
6 grid-template-columns:
50px;
7 grid-template-rows: auto;
10 .firstRowFirstColumn {
12 /* Make us fit our grid area. */
17 <script src=
"../../resources/check-layout.js"></script>
18 <body onload=
"checkLayout('.gridAutoContent');">
20 <p>Test that resolving auto tracks on grid items works properly.
</p>
22 <div class=
"constrainedContainer">
23 <div class=
"grid gridAutoContent">
24 <div class=
"firstRowFirstColumn" data-expected-width=
"50" data-expected-height=
"30">XXXXX XXXXX XXXXX
</div>
28 <!-- Allow the extra logical space distribution to occur. -->
29 <div style=
"width: 40px; height: 10px">
30 <div class=
"grid gridAutoContent">
31 <div class=
"firstRowFirstColumn" data-expected-width=
"50" data-expected-height=
"30">XXXXX XXXXX XXXXX
</div>
35 <div style=
"width: 40px; height: 10px;">
36 <div class=
"grid gridAutoContent">
37 <div class=
"firstRowFirstColumn" data-expected-width=
"50" data-expected-height=
"60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
</div>