2010-01-12 12:00:49 -08:00
|
|
|
<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"/>
|
|
|
|
<!--
|
|
|
|
Test of animation sandwich priority based on syncbase dependencies.
|
|
|
|
|
|
|
|
This chain goes through end and begin specs but SMIL seems to imply that
|
|
|
|
it's only when one element's begin time is dependent on another's begin time
|
|
|
|
that it affects the chaining because it should act as if the time base begun
|
2010-01-12 12:00:50 -08:00
|
|
|
before the the dependent. So in this case 'c' is (indirectly) dependent on
|
2010-01-12 12:00:49 -08:00
|
|
|
'a's end time and so shouldn't be given the higher priority.
|
|
|
|
-->
|
|
|
|
<rect width="100" height="100" fill="orange">
|
2010-01-12 12:00:50 -08:00
|
|
|
<set attributeName="fill" to="red" begin="b.begin-1s" id="c"/>
|
|
|
|
<set attributeName="x" to="0" begin="a.end-1s" id="b"/>
|
|
|
|
<set attributeName="fill" to="green" begin="1s" dur="2s" id="a"/>
|
2010-01-12 12:00:49 -08:00
|
|
|
</rect>
|
|
|
|
</svg>
|