1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3 <!-- This tests that changing the style of a parent block does not clobber the positioning of any anonymous block
4 children that hold the descendants of a relative positioned inline. -->
6 <title>CSS Test: Block boxes within inline boxes are affected by positioning
</title>
7 <style type=
"text/css">
28 <script type=
"text/javascript">
29 if (window
.testRunner
) {
30 testRunner
.waitUntilDone();
34 document
.getElementById("div3").style
.background
= "red";
35 document
.body
.offsetTop
;
36 if (window
.testRunner
)
37 testRunner
.notifyDone();
41 <body onload=
"setTimeout('run()', 10);">
42 <p>Test passes if the blue box sits atop the orange box and both are in the center of the view.
</p>
46 <div id=
"div4">Filler Text
</div>