Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://raw.githubusercontent.com/mozilla-firefox/firefox/main/testing/web-platform/tests/svg/linking/reftests/support/view-invalid-viewbox.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25">
<view id="negative-width" viewBox="0 0 -25 25" preserveAspectRatio="none"/>
<view id="negative-height" viewBox="0 0 25 -25" preserveAspectRatio="none"/>
<view id="three-numbers" viewBox="0 0 25" preserveAspectRatio="none"/>
<view id="no-viewbox" preserveAspectRatio="none"/>
<rect width="25" height="25" fill="green"/>
</svg>