Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | <svg xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Test that patterns are inherited from the outer object when using |
michael@0 | 4 | the objectFill and objectStroke paint server values in SVG glyphs |
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 | } |
michael@0 | 18 | ]]></style> |
michael@0 | 19 | |
michael@0 | 20 | <defs> |
michael@0 | 21 | <pattern id="pat" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"> |
michael@0 | 22 | <rect x="5" y="5" width="30" height="30" stroke="salmon" stroke-width="5" |
michael@0 | 23 | fill="mistyrose" /> |
michael@0 | 24 | </pattern> |
michael@0 | 25 | <pattern id="pat2" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"> |
michael@0 | 26 | <rect x="5" y="5" width="10" height="10" stroke="lavenderblush" stroke-width="2" |
michael@0 | 27 | fill="lemonchiffon" /> |
michael@0 | 28 | </pattern> |
michael@0 | 29 | </defs> |
michael@0 | 30 | |
michael@0 | 31 | <text x="0" y="200" fill="url(#pat)" stroke="url(#pat2)">N</text> |
michael@0 | 32 | <text x="300" y="200" fill="url(#pat)" stroke="url(#pat2)">O</text> |
michael@0 | 33 | <text x="0" y="500" fill="url(#pat)" stroke="url(#pat2)">P</text> |
michael@0 | 34 | <text x="300" y="500" fill="url(#pat)" stroke="url(#pat2)">Q</text> |
michael@0 | 35 | </svg> |