Index: LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-expected.html |
diff --git a/LayoutTests/fast/repaint/canvas-resize-no-full-invalidation.html b/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-expected.html |
similarity index 79% |
copy from LayoutTests/fast/repaint/canvas-resize-no-full-invalidation.html |
copy to LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-expected.html |
index 8f7924d1bbfcb71bf19856aa8e2311c68c3bf193..9652660f27f2e32d5d3a333f93658ec4651b7a05 100644 |
--- a/LayoutTests/fast/repaint/canvas-resize-no-full-invalidation.html |
+++ b/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-expected.html |
@@ -2,7 +2,7 @@ |
<style> |
canvas { |
position: absolute; |
- width: 600px; |
+ width: 500px; |
height: 500px; |
top: 50px; |
left: 50px; |
@@ -16,13 +16,7 @@ canvas { |
Tests paint invalidation of canvas when it's resized which doesn't affect its contents. Passes if there is only incremental invalidation for the resized background. |
<canvas id="canvas" width="500" height="500"></canvas> |
-<script src="resources/text-based-repaint.js"></script> |
<script> |
-function repaintTest() { |
- document.getElementById('canvas').style.width = '500px'; |
-} |
-onload = runRepaintTest; |
- |
var ctx = document.getElementById('canvas').getContext('2d'); |
ctx.beginPath(); |
ctx.arc(250, 250, 250, 0, 2 * Math.PI); |