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

18 lines
680 B
XML
Raw Normal View History

<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.
Normally, the second element would win because it appears later in the
document, but since the first element is dependent on the second, it should
apply on top of the second.
-->
<rect width="100" height="100" fill="orange">
<set attributeName="fill" to="green" begin="a.begin"/>
<set attributeName="fill" to="red" begin="0s" id="a"/>
</rect>
</svg>