Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-on-symbol-inside-pattern.svg
blob7b4b0923233bd83ee250d6a6cbfbf829647d0ea8
1 <!-- georg held -->
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="225" height="425">
3 <title>pattern</title>
4 <defs>
5 <symbol id="coniferous" overflow="visible" style="fill:none;stroke:green;stroke-width:2">
6 <path d="M0 -15 l0 30"/>
7 <path d="M0 -15 q0 3.5 5 3.5"/>
8 <path d="M0 -15 q0 3.5 -5 3.5"/>
9 <path d="M0 -9 q0 6 8 6"/>
10 <path d="M0 -9 q0 6 -8 6"/>
11 <path d="M0 0 q0 7 10 7"/>
12 <path d="M0 0 q0 7 -10 7"/>
13 </symbol>
14 <symbol id="broadLeave" overflow="visible" style="fill:none;stroke:green;stroke-width:2;">
15 <path d="M0 15 l0 -10"/>
16 <path d="M0 5 a6 6 0 1 1 -3.5 -10 a6 6 0 1 1 7 0 a6 6 0 1 1 -3.5 10z"/>
17 </symbol>
19 <pattern id="pat00" patternUnits="userSpaceOnUse" width="30" height="45">
20 <use xlink:href="#coniferous" transform="translate(10,15) scale(0.75)"/>
21 </pattern>
22 <pattern id="pat01" patternUnits="userSpaceOnUse" width="30" height="45">
23 <use xlink:href="#broadLeave" transform="translate(15,20) scale(0.5)"/>
24 </pattern>
26 <path id="geometry" style="fill-rule:nonzero;stroke:#B42D25;stroke-width:2;" d="M0 50 l100 -50 100 20 -50 50 -100 20z"/>
27 </defs>
28 <g transform="translate(10,10)">
29 <text x="0" y="10">coniferous</text>
30 <use xlink:href="#geometry" style="fill:url(#pat00)"/>
31 </g>
32 <g transform="translate(10,110)">
33 <text x="0" y="10">broadLeave</text>
34 <use xlink:href="#geometry" style="fill:url(#pat01)"/>
35 </g>
36 </svg>