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/testing/web-platform/tests/svg/render/order/z-index.svg
width="300" height="200" viewBox="0 0 300 200">
<metadata>
<h:link rel="match" href="z-index-ref.svg"/>
<h:meta name="assert" content="The z-index property allows an element to be assigned to a stack level."/>
</metadata>
<rect x="74" y="35" width="70" height="70" fill="red" style="z-index: 1;" />
<rect x="130" y="50" width="70" height="70" fill="green" />
<rect x="100" y="80" width="70" height="70" fill="blue" />
</svg>