| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 .box { | 6 .box { |
| 7 display: inline-block; | 7 display: inline-block; |
| 8 height: 120px; | 8 height: 120px; |
| 9 width: 300px; | 9 width: 300px; |
| 10 margin: 10px; | 10 margin: 10px; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 </style> | 25 </style> |
| 26 <script type="text/javascript" src="resources/text-based-repaint.js"></script> | 26 <script type="text/javascript" src="resources/text-based-repaint.js"></script> |
| 27 <script type="text/javascript"> | 27 <script type="text/javascript"> |
| 28 function repaintTest() | 28 function repaintTest() |
| 29 { | 29 { |
| 30 document.getElementById("box4").style.fontSize = "36pt"; | 30 document.getElementById("box4").style.fontSize = "36pt"; |
| 31 } | 31 } |
| 32 </script> | 32 </script> |
| 33 </script> | 33 </script> |
| 34 </head> | 34 </head> |
| 35 <body onload="runRepaintTest();"> | 35 <body onload="runRepaintAndPixelTest();"> |
| 36 | 36 |
| 37 <div class="em-units"> | 37 <div class="em-units"> |
| 38 <div id="box3" class="box"><div class="indicator" style="width: 5em;"></div>
</div> | 38 <div id="box3" class="box"><div class="indicator" style="width: 5em;"></div>
</div> |
| 39 <div id="box4" class="box"><div class="indicator" style="width: 5em;"></div>
</div> | 39 <div id="box4" class="box"><div class="indicator" style="width: 5em;"></div>
</div> |
| 40 </div> | 40 </div> |
| 41 | 41 |
| 42 </body> | 42 </body> |
| 43 </html> | 43 </html> |
| OLD | NEW |