blob: e1c36c7c5aaa88eb95791e2df4f559a721a075dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html>
<link href="resources/grid.css" rel="stylesheet">
<style>
.item::first-line { line-height: 100px; }
</style>
<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="grid">
<div class="item" data-expected-height=100>The first item.</div>
<div class="item" data-expected-height=100>The second item.</div>
</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>
</div>
</body>
</html>
|