Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/canvas-resize.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/repaint/canvas-resize.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/canvas-resize.html b/third_party/WebKit/LayoutTests/fast/repaint/canvas-resize.html
deleted file mode 100644
index 9ec5ba166dc0984052ee6470057f12692cd4146b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/canvas-resize.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<style>
-canvas {
- position: absolute;
- width: 600px;
- height: 500px;
- top: 50px;
- left: 50px;
-}
-</style>
-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 = runRepaintAndPixelTest;
-
-var ctx = document.getElementById('canvas').getContext('2d');
-ctx.beginPath();
-ctx.arc(250, 250, 250, 0, 2 * Math.PI);
-ctx.fillStyle = 'green';
-ctx.fill();
-</script>

Powered by Google App Engine
This is Rietveld 408576698