summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/418139-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/crashtests/418139-1.svg')
-rw-r--r--js/xpconnect/crashtests/418139-1.svg22
1 files changed, 22 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/418139-1.svg b/js/xpconnect/crashtests/418139-1.svg
new file mode 100644
index 0000000000..0c878f7c84
--- /dev/null
+++ b/js/xpconnect/crashtests/418139-1.svg
@@ -0,0 +1,22 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="boom();">
+
+<script type="text/javascript">
+
+function boom()
+{
+ document.getElementById("b").style.position = "absolute";
+ document.getElementById("a").style.color = "green";
+}
+
+</script>
+
+<defs>
+ <g id="a"><xul:listbox/></g>
+</defs>
+
+<g id="b"><use xlink:href="#a"/></g>
+
+</svg>