Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <!--
3 Test that patterns are inherited from the outer object when using
4 the objectFill and objectStroke paint server values in SVG glyphs
5 -->
7 <style type="text/css"><![CDATA[
8 @font-face {
9 font-family: "Liberation";
10 src:url("resources/svg.woff") format("woff");
11 }
13 text {
14 font-family: "Liberation";
15 font-size: 200px;
16 stroke-width: 5;
17 }
18 ]]></style>
20 <defs>
21 <pattern id="pat" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse">
22 <rect x="5" y="5" width="30" height="30" stroke="salmon" stroke-width="5"
23 fill="mistyrose" />
24 </pattern>
25 <pattern id="pat2" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
26 <rect x="5" y="5" width="10" height="10" stroke="lavenderblush" stroke-width="2"
27 fill="lemonchiffon" />
28 </pattern>
29 </defs>
31 <text x="0" y="200" fill="url(#pat)" stroke="url(#pat2)">N</text>
32 <text x="300" y="200" fill="url(#pat)" stroke="url(#pat2)">O</text>
33 <text x="0" y="500" fill="url(#pat)" stroke="url(#pat2)">P</text>
34 <text x="300" y="500" fill="url(#pat)" stroke="url(#pat2)">Q</text>
35 </svg>