| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 #shiftMe { | 5 #shiftMe { |
| 6 position: relative; | 6 position: relative; |
| 7 left: -100px; | 7 left: -100px; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .container { | 10 .container { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 </div> | 25 </div> |
| 26 </div> | 26 </div> |
| 27 </div> | 27 </div> |
| 28 <script src="resources/text-based-repaint.js" type="text/javascript"></script> | 28 <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
| 29 <script> | 29 <script> |
| 30 function repaintTest() | 30 function repaintTest() |
| 31 { | 31 { |
| 32 document.getElementById("shiftMe").style.left = "-20px"; | 32 document.getElementById("shiftMe").style.left = "-20px"; |
| 33 } | 33 } |
| 34 | 34 |
| 35 window.addEventListener("load", runRepaintTest, false); | 35 window.addEventListener("load", runRepaintAndPixelTest, false); |
| 36 </script> | 36 </script> |
| 37 </body> | 37 </body> |
| 38 </html> | 38 </html> |
| OLD | NEW |