summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/dynamic-use-remove-width-ref.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/dynamic-use-remove-width-ref.svg')
-rw-r--r--layout/reftests/svg/dynamic-use-remove-width-ref.svg12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/svg/dynamic-use-remove-width-ref.svg b/layout/reftests/svg/dynamic-use-remove-width-ref.svg
new file mode 100644
index 0000000000..bc4909e0c6
--- /dev/null
+++ b/layout/reftests/svg/dynamic-use-remove-width-ref.svg
@@ -0,0 +1,12 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<!-- this is a test for https://bugzilla.mozilla.org/show_bug.cgi?id=521682 -->
+
+ <defs>
+ <svg id="d">
+ <rect height="50%" width="100%" fill="blue" />
+ </svg>
+ </defs>
+
+ <use id="u" xlink:href="#d" height="100%" />
+
+</svg>