| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 | 4 |
| 5 .compositedAndRotated { | 5 .compositedAndRotated { |
| 6 transform: translatez(0) rotate(45deg); | 6 transform: translatez(0) rotate(45deg); |
| 7 } | 7 } |
| 8 | 8 |
| 9 .box { | 9 .box { |
| 10 width: 100px; | 10 width: 100px; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 if (window.testRunner) | 44 if (window.testRunner) |
| 45 testRunner.dumpAsText(); | 45 testRunner.dumpAsText(); |
| 46 | 46 |
| 47 function runTest() | 47 function runTest() |
| 48 { | 48 { |
| 49 if (!window.internals) { | 49 if (!window.internals) { |
| 50 alert('This test requires window.internals') | 50 alert('This test requires window.internals') |
| 51 return; | 51 return; |
| 52 } | 52 } |
| 53 | 53 |
| 54 document.body.textContent = window.internals.layerTreeAsText(document, i
nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS); | 54 document.body.textContent = window.internals.layerTreeAsText(document, i
nternals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS); |
| 55 document.body.style.whiteSpace = 'pre'; | 55 document.body.style.whiteSpace = 'pre'; |
| 56 } | 56 } |
| 57 </script> | 57 </script> |
| 58 </head> | 58 </head> |
| 59 <body onload="runTest()"> | 59 <body onload="runTest()"> |
| 60 <div class="compositedAndRotated box behind"></div> | 60 <div class="compositedAndRotated box behind"></div> |
| 61 <div class="box middle"></div> | 61 <div class="box middle"></div> |
| 62 <div class="box top"></div> | 62 <div class="box top"></div> |
| 63 </body> | 63 </body> |
| OLD | NEW |