| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/dont-invalidate-root-layer-when-composited-layer-beco
mes-visible.html --> | |
| 2 <!DOCTYPE html> | |
| 3 <html> | |
| 4 <head> | |
| 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | |
| 6 <script type="text/javascript"> | |
| 7 window.onload = function() { | |
| 8 runPaintInvalidationTest(); | |
| 9 }; | |
| 10 | |
| 11 function paintInvalidationTest() { | |
| 12 document.getElementById('target').style.visibility = 'visible'; | |
| 13 } | |
| 14 </script> | |
| 15 </head> | |
| 16 <body> | |
| 17 <div id="target" | |
| 18 style="will-change: transform; | |
| 19 visibility:hidden; | |
| 20 position: absolute; | |
| 21 top: 200px; left: 200px; | |
| 22 width: 200px; height: 200px; | |
| 23 background-color: redl "></div> | |
| 24 </body> | |
| 25 </html> | |
| OLD | NEW |