Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / pattern-referencing-preserve-aspect-ratio.svg
blob77ddb468557289a3be0f5156f1cfc720d87cdcda
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <defs>
3 <pattern id="pattern1" patternUnits="userSpaceOnUse" preserveAspectRatio="xMinYMid" x="-20" y="0" width="100" height="80" viewBox="0 0 20 40">
4 <rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/>
5 <g transform='translate(0, 5)'>
6 <circle cx='15' cy='15' r='10' fill='yellow'/>
7 <circle cx='12' cy='12' r='1.5' fill='black'/>
8 <circle cx='17' cy='12' r='1.5' fill='black'/>
9 <path d='M 10 19 A 8 8 0 0 0 20 19' stroke='black' stroke-width='2'/>
10 </g>
11 </pattern>
12 <pattern id="pattern2" x="80" xlink:href="#pattern1" viewBox="0 0 20 40"/>
13 </defs>
14 <rect x="80" y="0" width="20" height="80" fill="url(#pattern1)"/>
15 <rect x="100" y="0" width="40" height="80" fill="url(#pattern2)"/>
16 </svg>