blob: c3db6d662d88ce0958345ab30f41a082b04d60e9 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<g id="testmeta">
<title>CSS Masking: Basic shape circle() on SVG rectangle with stroke-box</title>
<html:link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"/>
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#svg-clipping-paths"/>
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-clip-path"/>
<html:link rel="match" href="reference/clip-path-circle-001-ref.svg" />
<metadata class="flags">svg</metadata>
<desc class="assert">A basic shape function circle() applied to an SVG
rectangle. The specified keyword stroke-box defines the reference box
stroking bounding box. You should see a full green circle.</desc>
</g>
<rect x="10" y="10" width="80" height="80" fill="green" stroke="green" stroke-width="20" style="clip-path: circle() stroke-box;"/>
</svg>