dom/smil/crashtests/555026-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/smil/crashtests/555026-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<svg xmlns="http://www.w3.org/2000/svg"
     1.6 +     class="reftest-wait"
     1.7 +     onload="go()">
     1.8 +  <script>
     1.9 +    function go() {
    1.10 +      // setCurrentTime to force a sample
    1.11 +      document.documentElement.setCurrentTime(1);
    1.12 +      document.documentElement.removeAttribute("class");
    1.13 +    }
    1.14 +  </script>
    1.15 +  <rect id="myRect" fill="blue" height="40" width="40">
    1.16 +    <!-- The "keyTimes" values below are invalid, but they should be ignored
    1.17 +         (and definitely shouldn't trigger any assertion failures) since we're
    1.18 +         in paced calcMode. -->
    1.19 +    <animate attributeName="x" by="50" calcMode="paced" dur="2s"
    1.20 +             keyTimes="0; -1"/>
    1.21 +    <animate attributeName="x" by="50" calcMode="paced" dur="2s"
    1.22 +             keyTimes=""/>
    1.23 +    <animate attributeName="x" by="50" calcMode="paced" dur="2s"
    1.24 +             keyTimes="abc"/>
    1.25 +    <animate attributeName="x" by="50" calcMode="paced" dur="2s"
    1.26 +             keyTimes="5"/>
    1.27 +  </rect>
    1.28 +</svg>

mercurial