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

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html

Issue 1839973003: If the <use> is hidden and the child of it is visible, should clip the non-resource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/visible-nested-clip-path-as-hidden-use-element.html
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html b/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..08722655b943a51ca37fab0d37046a780be8e4fb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<svg>
+ <defs>
+ <rect id="rect" width="100" height="100" visibility="visible"/>
+ <clipPath id="clipClip">
+ <rect width="100" height="100"/>
+ </clipPath>
+ <clipPath id="clip" clip-path="url(#clipClip)">
+ <use visibility="hidden" xlink:href="#rect"/>
+ </clipPath>
+ </defs>
+ <rect height="400" width="400" fill="green" clip-path="url(#clip)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698