| OLD | NEW |
| (Empty) |
| 1 <!-- Based on compositing/repaint/should-not-repaint-composited-filter.html --> | |
| 2 <!DOCTYPE html> | |
| 3 <style> | |
| 4 #composited-box { | |
| 5 backface-visibility: hidden; | |
| 6 width: 100px; | |
| 7 height: 100px; | |
| 8 background-color: green; | |
| 9 -webkit-filter: invert(70%); | |
| 10 } | |
| 11 </style> | |
| 12 <script src="resources/paint-invalidation-test.js"></script> | |
| 13 <script> | |
| 14 if (window.testRunner) | |
| 15 testRunner.dumpAsText(); | |
| 16 function paintInvalidationTest() { | |
| 17 document.getElementById('composited-box').style.webkitFilter = 'invert(100%)
'; | |
| 18 } | |
| 19 window.onload = runPaintInvalidationTest; | |
| 20 </script> | |
| 21 <div id="composited-box"></div> | |
| OLD | NEW |