2 <script src=
"resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document
.getElementById('skewed').style
.width
= '200px';
7 onload
= runRepaintTest
;
12 transform: skew(-
45deg);
13 transform-origin: left top;
20 background-color: green;
24 background-color: red;
27 Tests paint invalidation when a skewed element is resized. Passes if there is no red.
28 <div id=
"indicator"></div>
29 <div id=
"skewed"></div>