1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <script src="resources/repaint.js" type="text/javascript"></script>
6 <script type="text/javascript">
9 document.getElementById('a').style.position='relative';
10 document.getElementById('t').style.position='absolute';
14 <body onload="runRepaintTest();">
16 Repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9334">http://bugzilla.opendarwin.org/show_bug.cgi?id=9334</a>
17 Incomplete repaint when changing block from non-positioned to positioned</i>.
20 <div style="position: relative; height: 200px;">
21 <div id="a" style="width: 100px; height: 100px; background: blue; top: 50px; "></div>
23 <div style="position: relative; height: 150px; padding-top: 50px;">
24 <div style="height: 150px;">
25 <div id="t" style="width: 100px; height: 100px; background: blue; top: 0;"></div>