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/backgrounds/vector/nonpercent-width-nonpercent-height-viewbox.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
width="8px" height="32px"
viewBox="0 0 4 64"
preserveAspectRatio="none">
<title>Image with non-percent width, non-percent height, viewbox</title>
<rect y="0" width="100%" height="50%" fill="lime"/>
<rect y="50%" width="100%" height="50%" fill="aqua"/>
</svg>