| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <!-- This tests that toggling an inline's position to relative updates the position of any child blocks. --> |
| <title>CSS Test: Block boxes within inline boxes are affected by positioning</title> |
| <script type="text/javascript"> |
| testRunner.waitUntilDone(); |
| document.getElementById("span2").style.position = "relative"; |
| <body onload="setTimeout('run()', 10);"> |
| <p>Test passes if the orange box sits atop the blue box and both are in the center of the view.</p> |
| <div id="div3">Filler Text</div> |