4 <style type=
"text/css">
5 #t { position: absolute
; width: 100px; height: 100px; background: green
; left: -120px; }
7 <script type=
"text/javascript">
10 var container
= document
.getElementById("rel");
11 var target
= document
.getElementById("t");
12 document
.body
.offsetTop
; // force layout
13 container
.style
.position
= "relative";
14 document
.body
.offsetTop
; // force layout
15 target
.style
.left
= "0";
19 <body onload=
"test()">
21 This is a test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=9121">http://bugs.webkit.org/show_bug.cgi?id=
9121</a>
22 REGRESSION: [Incremental Repaint] DHTML movement test failures
</i>.
25 Do not resize the window. If you did, reload the test.
28 There should be a green square below, aligned with the left margin of the page.
31 <div id=
"rel" style=
"position: static;">