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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport.html

Issue 2298783002: Resolve percentage in <use> against the instance's viewport element (Closed)
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport.html b/third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport.html
new file mode 100644
index 0000000000000000000000000000000000000000..ad96e24eb614defbc60567e27a7e484784364902
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<svg width="200" height="100">
+ <rect width="100" height="100" fill="red"/>
+ <symbol id="inner">
+ <rect width="100" height="100"/>
+ </symbol>
+ <symbol id="outer">
+ <rect x="50%" width="100" height="100" fill="red"/>
+ <use xlink:href="#inner" x="50%" fill="green"/>
+ </symbol>
+ <use xlink:href="#outer" transform="translate(-100, 0)"/>
+</svg>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/use-nested-symbol-viewport-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698