OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title></title> | 3 <title></title> |
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
6 window.onload = function() { | 6 window.onload = function() { |
7 window.scrollTo(0, 20); | 7 window.scrollTo(0, 20); |
8 runRepaintAndPixelTest(); | 8 runRepaintAndPixelTest(); |
9 }; | 9 }; |
10 | 10 |
11 function repaintTest() | 11 function repaintTest() |
12 { | 12 { |
13 document.getElementById('t').style.background='green'; | 13 document.getElementById('t').style.background='green'; |
14 } | 14 } |
15 </script> | 15 </script> |
16 </head> | 16 </head> |
17 <body style="height:2000px;"> | 17 <body style="height:2000px;"> |
18 <p style="position: relative; top: 20px;"> | 18 <p style="position: relative; top: 20px;"> |
19 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1145
2">http://bugs.webkit.org/show_bug.cgi?id=11452</a> | 19 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1145
2">http://bugs.webkit.org/show_bug.cgi?id=11452</a> |
20 REGRESSION (r16736-r16801): Incorrect repaint of fixed boxes</i>. | 20 REGRESSION (r16736-r16801): Incorrect repaint of fixed boxes</i>. |
21 </p> | 21 </p> |
22 <div id="t" style="position: fixed; width: 100px; height: 100px; background:
red"></div> | 22 <!-- Using 99% opacity to ensure fixed position is not automatically promote
d. --> |
| 23 <div id="t" style="position: fixed; opacity: 0.99; width: 100px; height: 100
px; background: red"></div> |
23 </body> | 24 </body> |
24 </html> | 25 </html> |
OLD | NEW |