| <!-- Based on compositing/repaint/should-not-repaint-composited-filter.html --> |
| <!DOCTYPE html> |
| <style> |
| #composited-box { |
| backface-visibility: hidden; |
| width: 100px; |
| height: 100px; |
| background-color: green; |
| -webkit-filter: invert(70%); |
| } |
| </style> |
| <script src="resources/paint-invalidation-test.js"></script> |
| <script> |
| window.expectedPaintInvalidationObjects = [ |
| ]; |
| function paintInvalidationTest() { |
| document.getElementById('composited-box').style.webkitFilter = 'invert(100%)'; |
| } |
| window.onload = runPaintInvalidationTest; |
| </script> |
| <div id="composited-box"></div> |