Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-on-g-containing-use.svg
blob89f64ef32a36f1972cc8406fa677438a7bcefa7b
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <svg width="800" height="600" viewBox="0 0 400 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <defs>
5 <g id="otherg">
6 <circle opacity="0.5" fill="green" cx="30" cy="5" r="10"/>
7 </g>
9 <g id="g">
10 <rect stroke-width="5px" fill="red" stroke="navy" width="60" height="10"/>
11 <use xlink:href="#otherg"/>
12 <circle opacity="0.5" fill="yellow" cx="30" cy="5" r="5"/>
13 </g>
15 <use id="use" xlink:href="#g"/>
16 </defs>
18 <g transform="translate(125 25)">
19 <g>
20 <rect stroke-width="5px" fill="red" stroke="navy" width="60" height="10"/>
21 <circle opacity="0.5" fill="green" cx="30" cy="5" r="10"/>
22 <circle opacity="0.5" fill="yellow" cx="30" cy="5" r="5"/>
23 </g>
24 </g>
26 <text x="10" y="60">The two objects should look identical.</text>
27 <use x="25" y="25" xlink:href="#use"/>
29 </svg>