1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3 <!-- This tests that multiple sibling anonymous blocks with the same de-facto inline parent all respect its relative positioning. -->
5 <title>CSS Test: Block boxes within inline boxes are affected by positioning
</title>
6 <style type=
"text/css">
32 <script type=
"text/javascript">
33 if (window
.testRunner
) {
34 testRunner
.waitUntilDone();
38 document
.getElementById("div2").style
.position
= "relative";
39 document
.body
.offsetTop
;
40 if (window
.testRunner
)
41 testRunner
.notifyDone();
45 <body onload=
"setTimeout('run()', 10);">
46 <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>
50 <div id=
"div3">Filler Text
</div>
52 <div id=
"div3">Filler Text
</div>
54 <div id=
"div3">Filler Text
</div>