summaryrefslogtreecommitdiffstats
path: root/dom/smil/crashtests/551620-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/smil/crashtests/551620-1.svg')
-rw-r--r--dom/smil/crashtests/551620-1.svg21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/smil/crashtests/551620-1.svg b/dom/smil/crashtests/551620-1.svg
new file mode 100644
index 000000000..2ea83e9c2
--- /dev/null
+++ b/dom/smil/crashtests/551620-1.svg
@@ -0,0 +1,21 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+
+<animate id="x" begin="y.end"/>
+<animate id="y"/>
+
+<script>
+
+function boom()
+{
+ var x = document.getElementById("x");
+ var y = document.getElementById("y");
+ y.appendChild(x);
+ y.setAttributeNS(null, "dur", "0.5s");
+ y.removeAttributeNS(null, "dur");
+}
+
+window.addEventListener("load", boom, false);
+
+</script>
+
+</svg>