summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/event/event-target-default-2.svg
blob: dec770e7e904173144bfff1f68b0a59b68d95abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!-- Test default target with xlink:href -->
<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(0);
        click('rect');
        delayedSnapshot(2)">
  <script xlink:href="event-util.js" type="text/javascript"/>
  <rect width="100" height="100" fill="red" id="rect"/>
  <set xlink:href="#rect" attributeName="fill" attributeType="CSS" to="green"
    begin="click" dur="4s"/>
</svg>