summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/466585-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/466585-1.svg')
-rw-r--r--layout/svg/crashtests/466585-1.svg17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/svg/crashtests/466585-1.svg b/layout/svg/crashtests/466585-1.svg
new file mode 100644
index 0000000000..22ad862e15
--- /dev/null
+++ b/layout/svg/crashtests/466585-1.svg
@@ -0,0 +1,17 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+
+<script type="text/javascript">
+
+window.addEventListener("load", boom, false);
+
+function boom()
+{
+ document.getElementById("rect").setAttribute("filter", "url(#filter)");
+ document.getElementById("defs").setAttribute("fill", "red");
+}
+
+</script>
+
+<defs id="defs"><filter id="filter"/><rect id="rect"/></defs>
+
+</svg>