aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/position-absolute-prevents-blockification.html
blob: 1fa49f1db10e2fc2f6d9dce936d8be8fdc5ef289 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<!--
Fun fact: Blink and Gecko agree on inline-flex, but disagree on
inline-table.
The spec disagrees with both, but that breaks websites.
LOL
-->
<div>
<span>
<div style="display: inline-block; float: left">
test 1
</div>
<div style="display: inline-block; float: left; position: absolute">
test 2
</div>
</span>
</div>
<br>
<div>
<div style="display: inline-block; float: left">
test 1
</div>
<div style="display: inline-table; float: left; position: absolute">
test 2
</div>
</div>
<br>
<div>
<div style="display: inline-block; float: left">
test 1
</div>
<div style="display: inline-flex; float: left; position: absolute">
test 2
</div>
</div>