Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/smil/transform/set-transform-1.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
class="reftest-wait">
<script xlink:href="../smil-util.js" type="text/javascript"/>
<script>
function doTest() {
setTimeAndSnapshot(101, false);
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
<rect width="100%" height="100%" fill="lime" />
<!-- Test 1: We shouldn't animate a transform attribute with set -->
<rect x="50" y="50" width="100" height="100" fill="red">
<set attributeName="transform" to="75,75" begin="100s"/>
</rect>
<rect x="50" y="50" width="100" height="100" fill="lime"/>
</svg>