summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/432752-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/432752-1.svg')
-rw-r--r--layout/base/crashtests/432752-1.svg27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/base/crashtests/432752-1.svg b/layout/base/crashtests/432752-1.svg
new file mode 100644
index 000000000..f5ea2aeb9
--- /dev/null
+++ b/layout/base/crashtests/432752-1.svg
@@ -0,0 +1,27 @@
+<svg xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns="http://www.w3.org/2000/svg"
+ onload="boom();">
+
+ <script type="text/javascript">
+
+ function boom()
+ {
+ var a = document.getElementById("a");
+ var b = document.getElementById("b");
+ var d = document.getElementById("d");
+
+ d.appendChild(b);
+ a.appendChild(document.createTextNode("A"));
+ }
+
+ </script>
+
+ <g id="a"></g>
+
+ <use xlink:href="#a" id="b"/>
+
+ <use xlink:href="#d">
+ <g id="d"/>
+ </use>
+
+</svg>