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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/use-on-g-containing-symbol.html

Issue 1736283003: Don't expand <symbol> elements in <use> that are not targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@svg-use-symbol-siblings-in-shadow
Patch Set: Drop additional fix. Created 4 years, 10 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/use-on-g-containing-symbol.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/use-on-g-containing-symbol.html b/third_party/WebKit/LayoutTests/svg/custom/use-on-g-containing-symbol.html
new file mode 100644
index 0000000000000000000000000000000000000000..9f1fbb4b51141194d3d39db0954a329d22de752f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/use-on-g-containing-symbol.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<svg>
+ <g id="rectgroup">
+ <symbol id="rect">
+ <rect width="50" height="100"/>
+ </symbol>
+ <use xlink:href="#rect" fill="green"/>
+ </g>
+ <use xlink:href="#rectgroup" x="50"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698