3 <link href=
"resources/grid.css" rel=
"stylesheet">
5 .item::first-line { line-height:
100px; }
8 <script src=
"../../resources/check-layout.js"></script>
9 <body onload=
"checkLayout('.grid'); checkLayout('.inline-grid');">
10 <p>This test grid item's first-line pseudo-element should be valid.
</p>
13 <div class=
"item" data-expected-height=
100>The first item.
</div>
14 <div class=
"item" data-expected-height=
100>The second item.
</div>
17 <div class=
"inline-grid">
18 <div class=
"item" data-expected-height=
100>The first item.
</div>
19 <div class=
"item" data-expected-height=
100>The second item.
</div>