about summary refs log tree commit diff stats
path: root/test/layout/position-absolute-with-relative-inline-parent-offset.html
blob: ccebeb55a9b082a1bae6e0784753af75d8324074 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- don't ask -->
<p>
Note: the absolute box is sized differently than boxes in other engines,
because the CSS standard explicitly specifies this as UB and I *really*
don't want to make this even more complex.
<p>
I don't care, but feel free to fix it ;)
</p>
<br>
<br>test test <span style="position:relative">test test<div style="display: inline-block">adsfasdf</div><BR>
test test test test
<div>
<div style="display: block; position: absolute; top: 0em; left: 0; height: 100%; background: red; width: 3em">2t 2t 2</div>
asdfasd fasd
</div>
</div>
<br>
<br>
<br>
test
</span>