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> |