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

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/multiple-nested-clip-paths-crash.html

Issue 1838983002: Ensure display items are unique when multiple nested clip paths are used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch great again Created 4 years, 9 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/clip-path/multiple-nested-clip-paths-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/multiple-nested-clip-paths-crash.html b/third_party/WebKit/LayoutTests/svg/clip-path/multiple-nested-clip-paths-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..11401f27cb2f890ddc0247f1e362e67b8f904359
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/multiple-nested-clip-paths-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400">
+ <defs>
+ <clipPath id="clipClip3">
+ <rect width="120" height="120"/>
+ </clipPath>
+ <clipPath id="clipClip2" clip-path="url(#clipClip3)">
+ <rect width="140" height="140"/>
+ </clipPath>
+ <clipPath id="clipClip1" clip-path="url(#clipClip2)">
+ <rect width="160" height="160"/>
+ </clipPath>
+ <clipPath id="clip0" clip-path="url(#clipClip1)">
+ <rect width="180" height="180"/>
+ </clipPath>
+ </defs>
+ <rect y="50" x="20" height="200" width="100" fill="green" clip-path="url(#clip0)"/>
+ <rect x="20" y="20" height="50" width="200" fill="green" clip-path="url(#clip0)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698