Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/image/blueRect10x10-viewBox-animPAR.svg
<!-- Helper SVG file used by some reftests -->
<!-- This file has an animated preserveAspectRatio value on the root node, so
any uses of this file via <image preserveAspectRatio="defer..."> should
end up using our *animated* preserveAspectRatio value. -->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="root"
viewBox="0 0 10 10" preserveAspectRatio="xMaxYMax">
<set attributeName="preserveAspectRatio" to="none"/>
<rect x="0" y="0" width="10" height="10" fill="blue"/>
<rect x="1" y="1" width="8" height="8" fill="lightblue"/>
<rect x="1" y="1" width="8" height="4" fill="teal"/>
</svg>