- <!DOCTYPE html>
- <script src="resources/text-based-repaint.js"></script>
- <script>
- function repaintTest() {
- target.style.top = '200px';
- target.style.left = '200px';
- target.style.width = '200px';
- target.style.height = '200px';
- }
- onload = runRepaintTest;
- </script>
- Tests paint invalidation of an empty object when moved and resized.
- It passes if there is not any assertion failure or paint invalidation.
- <div id="target" style="position: absolute; top: 100px; left: 100px; width: 100px; height: 100px"></div>
|