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/css/css-masking/clip-path-svg-content/clip-path-invalid-reference.svg
<g id="testmeta">
<title>CSS Masking: clipPath with invalid reference</title>
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-clip-path"/>
<html:link rel="match" href="reference/clip-path-green-square-001-ref.svg" />
<metadata class="flags">svg</metadata>
<desc class="assert">clip-paths are ignored if their
reference doesn't point to a clipPath.</desc>
</g>
<linearGradient id="a" />
<rect x="50" y="50" width="100" height="100" fill="green" clip-path="url(#a)"/>
</svg>