dom/smil/crashtests/554202-2.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/smil/crashtests/554202-2.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg"
     1.5 +     onload="
     1.6 +        document.documentElement.pauseAnimations();
     1.7 +        document.documentElement.setCurrentTime(0);
     1.8 +        document.getElementById('a').beginElementAt(1);
     1.9 +        document.documentElement.setCurrentTime(2)">
    1.10 +  <!--
    1.11 +    This test case sets up a cycle between simultaneous instance times such that
    1.12 +    when the instance times are sorted if this cycle is not detected we will
    1.13 +    crash.
    1.14 +  -->
    1.15 +  <rect width="100" height="100" fill="red">
    1.16 +    <set attributeName="fill" to="blue" begin="a.begin" dur="4s"/>
    1.17 +    <set attributeName="fill" to="green" id="a"
    1.18 +      begin="b.begin; 3s" dur="4s"/>
    1.19 +    <set attributeName="fill" to="red" id="b"
    1.20 +      begin="a.begin" dur="4s"/>
    1.21 +  </rect>
    1.22 +</svg>

mercurial