about summary refs log tree commit diff stats
path: root/test/layout/vertical-align-margin-and-baseline.html
blob: 7f4d58ebc1e779dd6f23918a97b74e9ea7ccea71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<span style="background: red">
<div style="display: inline-block; vertical-align: middle; margin-top: 4em">
test<br>
test<br>
test
</div>
<div style="display: inline-block; vertical-align: top; margin-top: 9em">
test<br>
test
</div>
<div style="display: inline-block; vertical-align: bottom; margin-top: 2em">
test<br>
test
</div>
test