blob: 4f6e6927000269597caaa859b713e58fdca463b7 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<clipPath id="nothing">
</clipPath>
<clipPath id="emptyrect">
<rect width="0" height="0"/>
</clipPath>
</defs>
<rect fill="green" width="100" height="100"/>
<g clip-path="url(#nothing)" >
<rect width="100" height="100" fill="red"/>
</g>
<g clip-path="url(#emptyrect)" >
<rect width="100" height="100" fill="red"/>
</g>
<g>
<text y="130">Above a green rectangle should be displayed.</text>
<text y="150">It tests that an empty clip path clips the referencing graphic. Bug 15289.</text>
</g>
</svg>