Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / nested-pattern-boundingBoxModeContent.svg
blob11d0a05abc13862a30dc6cb455794cfe725daeb9
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <defs>
3 <pattern id="pattern1" x="0" y="0" width="1" height="1" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">
4 <rect x="0" y="0" width="1" height="1" fill="red"/>
5 <rect x="0" y="0" width="0.5" height="0.5" fill="url(#pattern1a)"/>
6 </pattern>
8 <pattern id="pattern1a" x="0" y="0" width="1" height="1" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">
9 <rect x="0" y="0" width="1" height="1" fill="green"/>
10 <rect x="0" y="0" width="0.5" height="0.5" fill="orange"/>
11 </pattern>
13 <pattern id="pattern2" x="0" y="0" width="1" height="1" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">
14 <rect x="0" y="0" width="1" height="1" fill="gray"/>
15 <rect x="0" y="0" width="0.5" height="0.5" fill="url(#pattern2a)"/>
16 </pattern>
18 <pattern id="pattern2a" x="0" y="0" width="1" height="1" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">
19 <rect x="0" y="0" width="1" height="1" fill="yellow"/>
20 <rect x="0" y="0" width="0.5" height="0.5" fill="url(#pattern3a)"/>
21 </pattern>
23 <pattern id="pattern3a" x="0" y="0" width="1" height="1" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">
24 <rect x="0" y="0" width="0.5" height="0.5" fill="url(#pattern1)"/>
25 <rect x="0.5" y="0.5" width="0.5" height="0.5" fill="url(#pattern1a)"/>
26 </pattern>
27 </defs>
29 <rect x="50" y="50" width="200" height="200" fill="url(#pattern1)"/>
31 <!-- Reference rendering for pattern1 result -->
32 <g>
33 <rect x="50" y="300" width="200" height="200" fill="red"/>
34 <rect x="50" y="300" width="100" height="100" fill="green"/>
35 <rect x="50" y="300" width="50" height="50" fill="orange"/>
36 </g>
38 <rect x="300" y="50" width="200" height="200" fill="url(#pattern2)"/>
40 <!-- Reference rendering for pattern2 result -->
41 <g>
42 <rect x="300" y="300" width="200" height="200" fill="gray"/>
43 <rect x="300" y="300" width="100" height="100" fill="yellow"/>
44 <rect x="300" y="300" width="25" height="25" fill="red"/>
45 <rect x="300" y="300" width="12.5" height="12.5" fill="green"/>
46 <rect x="300" y="300" width="6.25" height="6.25" fill="orange"/>
47 <rect x="325" y="325" width="25" height="25" fill="green"/>
48 <rect x="325" y="325" width="12.5" height="12.5" fill="orange"/>
49 </g>
50 </svg>