gecko/layout/reftests/svg/smil/syncbase/sandwich-priority-9.svg

22 lines
848 B
XML

<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>