Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / clip-path-referencing-use.svg
blob8d5c3dcf29f7cdcd83b3035bc714d9696e0073c7
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <defs>
3 <rect id="rect" width="100" height="100" />
4 <clipPath id="clip">
5 <use xlink:href="#rect" />
6 </clipPath>
7 </defs>
9 <g clip-path="url(#clip)">
10 <rect width="200" height="200" fill="red" />
11 <rect width="100" height="100" fill="green" />
12 </g>
14 <text x="10" y="120">The graphic above uses a 100x100 clipPath referencing a rectangle using use.</text>
15 <text x="10" y="140">It should clip the 200x200 red rectangle out and leave a 100x100 green rectangle. Bug 16557. </text>
16 </svg>