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