summaryrefslogtreecommitdiffstats
path: root/dom/svg/test/viewport-helper.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/svg/test/viewport-helper.svg26
1 files changed, 26 insertions, 0 deletions
diff --git a/dom/svg/test/viewport-helper.svg b/dom/svg/test/viewport-helper.svg
new file mode 100644
index 0000000000..c553b43a1f
--- /dev/null
+++ b/dom/svg/test/viewport-helper.svg
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="750"
+ xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
+
+ <defs>
+ <symbol id="sym">
+ <rect width="0" height="0" id="symbolRect"/>
+ </symbol>
+ </defs>
+ <svg id="inner">
+ <g id="g1">
+ </g>
+ </svg>
+ <foreignObject>
+ <svg id="outer">
+ <g id="g2">
+ </g>
+ </svg>
+ </foreignObject>
+ <!-- something invalid -->
+ <foreignObject>
+ <g id="g3">
+ </g>
+ </foreignObject>
+ <use xlink:href="#sym" id="use"/>
+</svg>