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