summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-restrictions.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/use-restrictions.svg')
-rw-r--r--layout/reftests/svg/use-restrictions.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-restrictions.svg b/layout/reftests/svg/use-restrictions.svg
new file mode 100644
index 0000000000..8cadeb6be2
--- /dev/null
+++ b/layout/reftests/svg/use-restrictions.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <g id="foreign">
+ <foreignObject x="100" y="0" width="100" height="100">
+ <p xmlns="http://www.w3.org/1999/xhtml">Foo</p>
+ </foreignObject>
+ </g>
+ </defs>
+ <g color="green">
+ <use href="use-02-extref-resource.svg#foreign" />
+ <use href="#foreign" />
+ </g>
+</svg>