summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/event/event-begin-offset-2.svg
blob: f1e503cf0d658d5b77ee264af8f76c6a6d124056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="
        document.documentElement.pauseAnimations();
        document.documentElement.setCurrentTime(4);
        click('circle');
        delayedSnapshot(4)">
  <script xlink:href="event-util.js" type="text/javascript"/>
  <circle id="circle" r="10"/>
  <rect width="100" height="100" fill="red">
    <animate attributeName="fill" attributeType="CSS"
      values="orange; green" calcMode="discrete"
      begin="circle.click-4s" dur="8s"/>
  </rect>
</svg>