Index: LayoutTests/paint/invalidation/spv2/canvas-resize-expected.html |
diff --git a/LayoutTests/fast/repaint/canvas-resize.html b/LayoutTests/paint/invalidation/spv2/canvas-resize-expected.html |
similarity index 70% |
copy from LayoutTests/fast/repaint/canvas-resize.html |
copy to LayoutTests/paint/invalidation/spv2/canvas-resize-expected.html |
index 5cc566a7235be73275f94a20f249691e90a5de26..0ba42df5a13fd5d4177f9c71e3a966d97ba3e8d2 100644 |
--- a/LayoutTests/fast/repaint/canvas-resize.html |
+++ b/LayoutTests/paint/invalidation/spv2/canvas-resize-expected.html |
@@ -2,7 +2,7 @@ |
<style> |
canvas { |
position: absolute; |
- width: 600px; |
+ width: 500px; |
height: 500px; |
top: 50px; |
left: 50px; |
@@ -11,13 +11,7 @@ canvas { |
Tests paint invalidation of canvas when it's resized. Passes if there is a whole green circle. |
<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); |