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/rotate-angle-3.svg
class="reftest-wait"
onload="setTimeAndSnapshot(101, true)">
<script xlink:href="../smil-util.js" type="text/javascript"/>
<g transform="translate(0 0) rotate(90 50 50)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="0 200 50" begin="100s" dur="4s" fill="freeze"/>
</path>
</g>
<g transform="translate(100 0)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="90 50 50" begin="100s" dur="1s" fill="freeze"/>
</path>
</g>
<g transform="translate(200 0)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="180 100 50" begin="100s" dur="2s" fill="freeze"/>
</path>
</g>
<g transform="translate(0 100)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="270 150 50" begin="100s" dur="3s" fill="freeze"/>
</path>
</g>
<g transform="translate(100 100)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="360 200 50" begin="100s" dur="4s" fill="freeze"/>
</path>
</g>
<g transform="translate(200 100)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="540 300 50" begin="100s" dur="6s" fill="freeze"/>
</path>
</g>
<g transform="translate(0 200)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="3600 2000 50" begin="100s" dur="40s" fill="freeze"/>
</path>
</g>
<g transform="translate(100 200)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="-270 50 50" begin="100s" dur="1s" fill="freeze"/>
</path>
</g>
<g transform="translate(200 200)">
<path d="M48 100h4v -90h4l -6 -10 -6 10h4z" fill="blue">
<animateTransform attributeName="transform"
type="rotate" from="0 0 50" to="-540 100 50" begin="100s" dur="2s" fill="freeze"/>
</path>
</g>
</svg>