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/anim-clipPath-viewBox.svg
width="600" height="400" preserveAspectRatio="none"
viewBox="50 100 500 200"
class="reftest-wait"
onload="setTimeAndSnapshot(1, true)">
<script xlink:href="smil-util.js" type="text/javascript"/>
<rect x="50" y="100" width="500" height="200" style="fill:blue;"
clip-path="circle(100px at center) view-box"/>
<animate attributeName="viewBox" values="50 100 500 200; 0 0 600 400"
dur="0.5s" fill="freeze"/>
</svg>