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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.xhtml

Issue 2276073002: Fix invalidation of absolute sized SVG content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/svg/custom/absolute-sized-content-with-resources.xhtml
diff --git a/third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.xhtml b/third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.xhtml
deleted file mode 100644
index 6ce5a1c2aa5aa7a23a7195efee635289f0460096..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.xhtml
+++ /dev/null
@@ -1,34 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
-</head>
-<body onload="runRepaintAndPixelTest()">
- <p>The svg area contained in the div element (red box), should contain four masked circles, that do not pixelate after resizing</p>
- <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid red;">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="20 15 60 50" height="100%" width="100%">
- <defs>
- <linearGradient id="gradient" x1="0" x2="1" y1="0" y2="1" color-interpolation="linearRGB">
- <stop offset="0" stop-color="blue" />
- <stop offset="1" stop-color="red" />
- </linearGradient>
-
- <mask id="mask" maskUnits="userSpaceOnUse" x="25" y="20" width="50" height="40">
- <circle cx="25" cy="20" r="20" fill="#ffffff" />
- <circle cx="25" cy="60" r="20" fill="#ffffff" />
- <circle cx="75" cy="20" r="20" fill="#ffffff" />
- <circle cx="75" cy="60" r="20" fill="#ffffff" />
- </mask>
- </defs>
-
- <g fill="url(#gradient)">
- <rect width="100" height="80" mask="url(#mask)" />
- </g>
- </svg>
- </div>
- <script>
- function repaintTest() {
- document.getElementById("contentBox").style.setProperty("width", "400px");
- }
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698