1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3 <!-- This tests that a block inside nested inlines respects the positioning of a parent when it gets relatively positioned. -->
5 <title>CSS Test: Block boxes within inline boxes are affected by positioning
</title>
6 <style type=
"text/css">
33 <script type=
"text/javascript">
34 if (window
.testRunner
) {
35 testRunner
.waitUntilDone();
39 document
.getElementById("div4").style
.position
= "relative";
40 document
.body
.offsetTop
;
41 if (window
.testRunner
)
42 testRunner
.notifyDone();
46 <body onload=
"setTimeout('run()', 10);">
47 <p>Test passes if each of the orange boxes is sandwiched between two blue boxes and all blue and orange boxes are below the big yellow box.
</p>
51 <div id=
"div3">Filler Text
</div>
54 <div id=
"div3">Filler Text
</div>
57 <div id=
"div3">Filler Text
</div>