summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-children.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/use-children.svg')
-rw-r--r--layout/reftests/svg/use-children.svg13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-children.svg b/layout/reftests/svg/use-children.svg
new file mode 100644
index 0000000000..f0b04e3163
--- /dev/null
+++ b/layout/reftests/svg/use-children.svg
@@ -0,0 +1,13 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Testing that 'use' doesn't render its kids.</title>
+
+ <rect width="100%" height="100%" fill="lime" id="r1"/>
+ <use id="u2" x="0%" width="100%">
+ <rect width="100%" height="100%" fill="red" id="r2"/>
+ </use>
+</svg>