summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/363611-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/363611-1.xhtml')
-rw-r--r--layout/svg/crashtests/363611-1.xhtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/svg/crashtests/363611-1.xhtml b/layout/svg/crashtests/363611-1.xhtml
new file mode 100644
index 000000000..6bc386bcd
--- /dev/null
+++ b/layout/svg/crashtests/363611-1.xhtml
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<script style="display: none" type="text/javascript">
+
+function boom()
+{
+ var fo = document.createElementNS("http://www.w3.org/2000/svg", 'foreignObject');
+ document.getElementById("innerSVG").appendChild(fo);
+}
+
+</script>
+
+</head>
+
+<body onload="boom();">
+
+<svg xmlns="http://www.w3.org/2000/svg" ><linearGradient><svg id="innerSVG"></svg></linearGradient></svg>
+
+</body>
+</html>