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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html
deleted file mode 100644
index 85f18196d511ef1f1015506ce1fad512627797cf..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!-- Based on fast/repaint/canvas-resize-no-full-invalidation.html -->
-<!DOCTYPE html>
-<style>
-canvas {
- position: absolute;
- width: 600px;
- height: 500px;
- top: 50px;
- left: 50px;
- /* object-fit and object-position make the content of the canvas not affected
- by the resize in paintInvalidationTest(). */
- object-fit: contain;
- object-position: 0 0;
- background-color: #030;
-}
-</style>
-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/paint-invalidation-test.js"></script>
-<script>
-function paintInvalidationTest() {
- document.getElementById('canvas').style.width = '500px';
-}
-onload = runPaintInvalidationTest;
-
-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