| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 .composited { | 4 .composited { |
| 5 transform: translatez(0); | 5 transform: translatez(0); |
| 6 } | 6 } |
| 7 | 7 |
| 8 .box { | 8 .box { |
| 9 width: 100px; | 9 width: 100px; |
| 10 height: 100px; | 10 height: 100px; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 transform:translatez(0); | 49 transform:translatez(0); |
| 50 } | 50 } |
| 51 | 51 |
| 52 </style> | 52 </style> |
| 53 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | 53 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| 54 <script> | 54 <script> |
| 55 function repaintTest() | 55 function repaintTest() |
| 56 { | 56 { |
| 57 document.getElementById('repaintdiv').style.background = 'salmon'; | 57 document.getElementById('repaintdiv').style.background = 'salmon'; |
| 58 } | 58 } |
| 59 runRepaintTest(); | 59 runRepaintAndPixelTest(); |
| 60 </script> | 60 </script> |
| 61 </head> | 61 </head> |
| 62 <body> | 62 <body> |
| 63 <div class="composited box behind"></div> | 63 <div class="composited box behind"></div> |
| 64 <div class="box middle"></div> | 64 <div class="box middle"></div> |
| 65 <img id="repaintdiv" class="repaintdiv"></img> | 65 <img id="repaintdiv" class="repaintdiv"></img> |
| 66 <div class="box top"></div> | 66 <div class="box top"></div> |
| 67 </body> | 67 </body> |
| OLD | NEW |