Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / empty-clip-path.svg
blob4f6e6927000269597caaa859b713e58fdca463b7
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <defs>
3 <clipPath id="nothing">
4 </clipPath>
5 <clipPath id="emptyrect">
6 <rect width="0" height="0"/>
7 </clipPath>
8 </defs>
10 <rect fill="green" width="100" height="100"/>
11 <g clip-path="url(#nothing)" >
12 <rect width="100" height="100" fill="red"/>
13 </g>
14 <g clip-path="url(#emptyrect)" >
15 <rect width="100" height="100" fill="red"/>
16 </g>
18 <g>
19 <text y="130">Above a green rectangle should be displayed.</text>
20 <text y="150">It tests that an empty clip path clips the referencing graphic. Bug 15289.</text>
21 </g>
22 </svg>