OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link rel="stylesheet" href="resources/default.css" /> | 4 <link rel="stylesheet" href="resources/default.css" /> |
5 <style> | 5 <style> |
6 table { | 6 table { |
7 border-spacing: 0px; | 7 border-spacing: 0px; |
8 background: red; | 8 background: red; |
9 } | 9 } |
10 | 10 |
11 td { | 11 td { |
12 padding: 0px; | 12 padding: 0px; |
13 border: 2px solid green; | 13 border: 2px solid green; |
14 } | 14 } |
15 </style> | 15 </style> |
16 <script src="resources/repaint.js"></script> | 16 <script src="resources/repaint.js"></script> |
17 <script> | 17 <script> |
18 if (window.testRunner) | 18 if (window.testRunner) |
19 testRunner.dumpAsText(true); | 19 testRunner.dumpAsTextWithPixelResults(); |
20 | 20 |
21 function repaintTest() | 21 function repaintTest() |
22 { | 22 { |
23 var cell = document.getElementById("cellToScroll"); | 23 var cell = document.getElementById("cellToScroll"); |
24 cell.scrollLeft = 1200; | 24 cell.scrollLeft = 1200; |
25 } | 25 } |
26 window.addEventListener("load", runRepaintTest, false); | 26 window.addEventListener("load", runRepaintTest, false); |
27 </script> | 27 </script> |
28 </head> | 28 </head> |
29 <body> | 29 <body> |
(...skipping 12 matching lines...) Expand all Loading... |
42 <div class="absolute green" style="height: 450px; width: 450px; left
: 500px; top: 0px"></div> | 42 <div class="absolute green" style="height: 450px; width: 450px; left
: 500px; top: 0px"></div> |
43 </td> | 43 </td> |
44 </tr> | 44 </tr> |
45 </table> | 45 </table> |
46 <script> | 46 <script> |
47 // Make sure we scroll to the bottom of the page. | 47 // Make sure we scroll to the bottom of the page. |
48 window.scrollTo(950, 1250); | 48 window.scrollTo(950, 1250); |
49 </script> | 49 </script> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |