Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <svg xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Test that fill-opacity is correctly inherited from the outer text |
michael@0 | 4 | object when -moz-objectFillOpacity is used in an SVG glyph. |
michael@0 | 5 | --> |
michael@0 | 6 | |
michael@0 | 7 | <style type="text/css"><![CDATA[ |
michael@0 | 8 | @font-face { |
michael@0 | 9 | font-family: "Liberation"; |
michael@0 | 10 | src:url("resources/svg.woff") format("woff"); |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | text { |
michael@0 | 14 | font-family: "Liberation"; |
michael@0 | 15 | font-size: 200px; |
michael@0 | 16 | stroke-width: 5; |
michael@0 | 17 | fill-opacity: 0.5; |
michael@0 | 18 | fill: url(#grad); |
michael@0 | 19 | stroke-opacity: 1.0; |
michael@0 | 20 | stroke: url(#grad2); |
michael@0 | 21 | } |
michael@0 | 22 | ]]></style> |
michael@0 | 23 | |
michael@0 | 24 | <defs> |
michael@0 | 25 | <linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse"> |
michael@0 | 26 | <stop stop-color="purple" offset="0%" /> |
michael@0 | 27 | <stop stop-color="lime" offset="100%" /> |
michael@0 | 28 | </linearGradient> |
michael@0 | 29 | <radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse"> |
michael@0 | 30 | <stop stop-color="red" offset="0%" /> |
michael@0 | 31 | <stop stop-color="blue" offset="100%" /> |
michael@0 | 32 | </radialGradient> |
michael@0 | 33 | |
michael@0 | 34 | </defs> |
michael@0 | 35 | |
michael@0 | 36 | <text x="0" y="200">R</text> |
michael@0 | 37 | <text x="300" y="200">S</text> |
michael@0 | 38 | <text x="0" y="500">T</text> |
michael@0 | 39 | <text x="300" y="500">U</text> |
michael@0 | 40 | </svg> |