OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 #composited-box { | |
4 width: 100px; | |
5 height: 100px; | |
6 border: solid 1px black; | |
7 transform:translate3D(0, 0, 0); | |
8 } | |
9 </style> | |
10 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | |
11 <script> | |
12 function repaintTest() { | |
13 document.getElementById('composited-box').style.webkitTransform = 'translate 3D(100px, 100px, 0)'; | |
14 } | |
15 window.onload = runRepaintTest; | |
16 </script> | |
17 <div id="composited-box"></div> | |
OLD | NEW |