gecko/layout/reftests/svg/clipPath-basic-05.svg

23 lines
593 B
XML
Raw Normal View History

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<title>Testcase for basic clipPath on foreignObject</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=578309 -->
<defs>
<clipPath id="clip">
<rect x="20" y="20" width="100" height="100"/>
</clipPath>
</defs>
<rect width="100%" height="100%" fill="lime"/>
<rect x="20" y="20" width="100" height="100" fill="red"/>
<foreignObject x="20" y="20" width="100" height="100" clip-path="url(#clip)">
<svg>
<rect width="100" height="100" fill="lime"/>
</svg>
</foreignObject>
</svg>