summaryrefslogtreecommitdiffstats
path: root/dom/smil/crashtests/554202-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/smil/crashtests/554202-1.svg')
-rw-r--r--dom/smil/crashtests/554202-1.svg31
1 files changed, 31 insertions, 0 deletions
diff --git a/dom/smil/crashtests/554202-1.svg b/dom/smil/crashtests/554202-1.svg
new file mode 100644
index 000000000..f3d692ca0
--- /dev/null
+++ b/dom/smil/crashtests/554202-1.svg
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+
+<bindings xmlns="http://www.mozilla.org/xbl">
+ <binding id="foo">
+ <content>
+ <animate xmlns="http://www.w3.org/2000/svg" begin="a.begin">
+ <children xmlns="http://www.mozilla.org/xbl"/>
+ </animate>
+ </content>
+ </binding>
+</bindings>
+
+<animate id="a" begin="b.begin; 3s"/>
+<animate id="b" begin="a.begin"/>
+
+<script type="text/javascript">
+
+function boom()
+{
+ document.documentElement.pauseAnimations();
+ document.documentElement.setCurrentTime(0);
+ document.getElementById('a').beginElementAt(1);
+ document.documentElement.style.MozBinding = 'url(#foo)';
+}
+
+window.addEventListener("load", boom, false);
+
+</script>
+
+</svg>