summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/sort/sort-startSame-2a.svg
blob: b2404be9412d38eab1d8ab70f9d10f1ffffa36b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!-- If two conflicting animations start at same time, the one appearing
     later in the document should win (including its freeze effects). -->
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="setTimeAndSnapshot(1.5, true)">
  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <rect x="0" y="0" width="100" height="100" fill="blue">
    <animate attributeName="x" from="100" to="200" begin="0s" dur="2s"/>
    <animate attributeName="x" from="300" to="400" begin="0s" dur="1s" 
             fill="freeze"/>
  </rect>
  <rect x="0" y="200" width="100" height="100" fill="blue">
    <animate attributeName="x" from="300" to="400" begin="0s" dur="1s" 
             fill="freeze"/>
    <animate attributeName="x" from="100" to="200" begin="0s" dur="2s"/>
  </rect>
</svg>