blob: 891405dc46a5d200873d94608ea6de71e77adf38 [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: mask without specified mask-type</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-masks"/>
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#MaskElement"/>
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-mask-type"/>
<html:link rel="match" href="reference/mask-green-square-001-ref.svg"/>
<metadata class="flags">svg</metadata>
<desc class="assert">No mask type was specified the mask element should
take the luminocity of the content to mask. You should see a green square.
</desc>
</g>
<mask id="mask">
<rect width="200" height="200" fill="black"/>
<rect x="50" y="50" width="100" height="100" fill="white"/>
</mask>
<rect width="200" height="200" fill="green" mask="url(#mask)"/>
</svg>