aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/position-absolute-with-relative-inline-parent-offset.html
blob: 88f5882f0aa83a88bf60d1750bb1be9f0d6af9a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<!-- don't ask -->
<p>
Note: per CSS, the absolute box's sizing is explicitly UB, apparently to
accomodate for Gecko's broken rendering.  We follow Blink.
</p>
<br>
<br>test test <span style="position:relative">test test<div style="display: inline-block">adsfasdf</div><BR>
test test test test
<div style="background: blue">
<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>