summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/syncbase/cycle-invalid-2.svg
blob: 97829d655471b92d7fe9703dc74e9265a3cc7198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="setTimeAndSnapshot(2, true)">
  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <!--
    An invalid cycle. Example 2 From SMIL3 section 5.4.5.
   -->
  <rect width="100" height="100" fill="blue">
    <animate attributeName="y" attributeType="XML" from="0" to="0" id="a"
      begin="c.end" dur="4s"/>
    <animate attributeName="y" attributeType="XML" from="0" to="0" id="b"
      begin="a.begin" dur="3s"/>
    <animate attributeName="fill" attributeType="CSS" id="c"
      values="green; red"
      begin="0" end="b.end"/>
  </rect>
</svg>