summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/syncbase/sandwich-priority-9.svg
blob: d8ec1709cd6de5ce9f6cd0f692825961c5f04189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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);
      document.getElementById('b').setAttribute('begin', 'a.begin');
      setTimeAndSnapshot(2, false)">
  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <!--
    Test of animation sandwich priority based on syncbase dependencies.

    As with test 8 but here we check that such changes are propagated to
    dependent elements.
   -->
  <rect width="100" height="100" fill="orange">
    <set attributeName="fill" to="yellow" begin="1s"      id="b"/>
    <set attributeName="fill" to="green"  begin="b.begin" id="c"/>
    <set attributeName="fill" to="red"    begin="1s"      id="a"/>
  </rect>
</svg>