dom/smil/crashtests/554202-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/smil/crashtests/554202-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<svg xmlns="http://www.w3.org/2000/svg">
     1.6 +
     1.7 +<bindings xmlns="http://www.mozilla.org/xbl">
     1.8 +  <binding id="foo">
     1.9 +    <content>
    1.10 +      <animate xmlns="http://www.w3.org/2000/svg" begin="a.begin">
    1.11 +        <children xmlns="http://www.mozilla.org/xbl"/>
    1.12 +      </animate>
    1.13 +    </content>
    1.14 +  </binding>
    1.15 +</bindings>
    1.16 +
    1.17 +<animate id="a" begin="b.begin; 3s"/>
    1.18 +<animate id="b" begin="a.begin"/>
    1.19 +
    1.20 +<script type="text/javascript">
    1.21 +
    1.22 +function boom()
    1.23 +{
    1.24 +  document.documentElement.pauseAnimations();
    1.25 +  document.documentElement.setCurrentTime(0);
    1.26 +  document.getElementById('a').beginElementAt(1);
    1.27 +  document.documentElement.style.MozBinding = 'url(#foo)';
    1.28 +}
    1.29 +
    1.30 +window.addEventListener("load", boom, false);
    1.31 +
    1.32 +</script>
    1.33 +
    1.34 +</svg>

mercurial