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

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-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/invisible-clip-path-as-geometry-element.html
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-element.html b/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..571cc4c813f13ea1862fa44969c81b37446a057a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-element.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML>
+<div style="visibility: hidden;">
fs 2016/04/19 10:17:27 Having this <div> wrapper doesn't seem relevant fo
hyunjunekim2 2016/04/27 12:18:39 Done.
+ <svg>
+ <defs>
+ <clipPath id="clip">
+ <rect x="0" y="0" width="400" height="300"></rect>
fs 2016/04/19 10:17:27 I would have the geometries in this test be so tha
hyunjunekim2 2016/04/27 12:18:39 Remove this test.
+ </clipPath>
+ </defs>
+ <rect x="0" y="0" width="100" height="100" fill="green" visibility="visible" clip-path="url(#clip)"></rect>
+ </svg>
+</div>

Powered by Google App Engine
This is Rietveld 408576698