| <!-- Based on compositing/repaint/should-not-repaint-composited-transform.html --> |
| <!DOCTYPE html> |
| <style> |
| #composited-box { |
| width: 100px; |
| height: 100px; |
| border: solid 1px black; |
| transform:translate3D(0, 0, 0); |
| } |
| </style> |
| <script src="resources/paint-invalidation-test.js"></script> |
| <script> |
| window.expectedPaintInvalidationObjects = [ |
| ]; |
| function paintInvalidationTest() { |
| document.getElementById('composited-box').style.webkitTransform = 'translate3D(100px, 100px, 0)'; |
| } |
| window.onload = runPaintInvalidationTest; |
| </script> |
| <div id="composited-box"></div> |