2 <script src="resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document.getElementById('target').style.width = '300px';
6 document.getElementById('target').style.height = '300px';
8 window.onload = runRepaintTest;
25 border: green 10px solid;
26 background-color: blue;
29 Tests invalidation when a box with border is resized within a clipping container.
30 Passes if the result paint rects don't exceed the container.
32 <div id="target"></div>