blob: 194d94f68563a3b00d05ebd594dc0c1c35788161 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<link href='resources/grid.css' rel='stylesheet'>
<style>
.grid {
background-color: lightgrey;
}
</style>
<p>This test checks that vertical-align should have no effect on a grid item
i.e grid items' content should not be shifted by the vertical-align</p>
<div class='grid'>
<!-- grid item: block child -->
<div>block</div>
<!-- grid item: anonymous block box around inline content -->
anonymous item 2
<!-- grid item: inline child -->
<span>item 3</span>
</div>
|