Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / transforms / text-with-pattern-with-svg-transform.svg
blob444add00bf3bbf708bf122ea74a92edff93b725f
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 480 360">
2 <g transform="scale(.5) rotate(30)">
3 <pattern id="pat1" width=".04" height=".4" viewBox="5 5 20 20">
4 <rect x="5" y="5" width="10" height="10" fill="red" />
5 <rect x="10" y="10" width="10" height="10" fill="green" />
6 </pattern>
7 <rect x="25" y="10" width="430" height="60" stroke="black" fill="url(#pat1)" />
8 <text font-family="Arial" font-size="12" x="25" y="85">Pattern created using red and green rectangles applied to fill of rectangle</text>
9 <pattern id="pat2" width=".04" height=".4" viewBox="0 0 20 20">
10 <rect x="0" y="0" width="10" height="10" fill="red" />
11 <rect x="10" y="0" width="10" height="10" fill="green" />
12 <rect x="0" y="10" width="10" height="10" fill="blue" />
13 <rect x="10" y="10" width="10" height="10" fill="yellow" />
14 </pattern>
15 <rect x="35" y="110" width="410" height="40" fill="none" stroke="url(#pat2)" stroke-width="20" />
16 <text font-family="Arial" font-size="12" x="25" y="175">Pattern of 4 rectangles applied to a stroke of a rectangle.</text>
17 <pattern id="pat3" width=".03" height=".3" viewBox="0 0 10 20">
18 <rect x="0" y="0" width="10" height="10" fill="red" />
19 <rect x="0" y="10" width="10" height="10" fill="green" />
20 </pattern>
21 <text font-family="Arial" font-size="50" fill="url(#pat3)" x="25" y="220">Pattern on fill</text>
22 <text font-family="Arial" font-size="12" x="25" y="235">Pattern consists of red and green rows</text>
23 <pattern id="pat4" width=".06" height=".2" viewBox="0 0 20 10">
24 <rect x="0" y="0" width="10" height="10" fill="red" />
25 <rect x="10" y="0" width="10" height="10" fill="blue" />
26 </pattern>
27 <text font-family="Arial" font-size="40" fill="none" stroke="url(#pat4)" stroke-width="2" x="25" y="275">Pattern on stroke</text>
28 <text font-family="Arial" font-size="12" x="25" y="290">Pattern consists of red and blue columns</text>
29 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
30 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
31 </g>
32 </svg>