OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <link rel="stylesheet" href="resources/default.css"></style> | 3 <link rel="stylesheet" href="resources/default.css"></style> |
4 <script src="resources/repaint.js" type="text/javascript"></script> | 4 <script src="resources/repaint.js" type="text/javascript"></script> |
5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
6 if (window.testRunner) | 6 if (window.testRunner) |
7 testRunner.dumpAsText(true); | 7 testRunner.dumpAsTextWithPixelResults(); |
8 | 8 |
9 function repaintTest() | 9 function repaintTest() |
10 { | 10 { |
11 document.getElementById("hideMe").style.zIndex = "-5"; | 11 document.getElementById("hideMe").style.zIndex = "-5"; |
12 } | 12 } |
13 </script> | 13 </script> |
14 </head> | 14 </head> |
15 <body style="height:2000px;" onload="runRepaintTest()"> | 15 <body style="height:2000px;" onload="runRepaintTest()"> |
16 <!-- You should see 1 green rectangle rotated in the output and no red. --> | 16 <!-- You should see 1 green rectangle rotated in the output and no red. --> |
17 <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed"> | 17 <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed"> |
18 <div class="absolute green reflected" style="height: 50px;"></div> | 18 <div class="absolute green reflected" style="height: 50px;"></div> |
19 <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div
> | 19 <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div
> |
20 </div> | 20 </div> |
21 <!-- Make sure we are scrolled --> | 21 <!-- Make sure we are scrolled --> |
22 <div style="top: 0px; left: 0px;" class="absolute red"></div> | 22 <div style="top: 0px; left: 0px;" class="absolute red"></div> |
23 <script> | 23 <script> |
24 window.scrollTo(100, 180); | 24 window.scrollTo(100, 180); |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |