summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/345445-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/345445-1.svg')
-rw-r--r--dom/svg/crashtests/345445-1.svg23
1 files changed, 23 insertions, 0 deletions
diff --git a/dom/svg/crashtests/345445-1.svg b/dom/svg/crashtests/345445-1.svg
new file mode 100644
index 0000000000..b322b5ac05
--- /dev/null
+++ b/dom/svg/crashtests/345445-1.svg
@@ -0,0 +1,23 @@
+<svg xmlns="http://www.w3.org/2000/svg" onload="setTimeout(boom, 30);" class="reftest-wait">
+
+<script>
+
+function boom()
+{
+ var doomed = document.getElementById("doomed");
+ doomed.parentNode.removeChild(doomed);
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+
+<g stroke="url(#grad)">
+
+ <g id="doomed">
+
+ <linearGradient id="grad" />
+ <rect fill="url(#grad)" />
+ </g>
+</g>
+
+</svg> \ No newline at end of file