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 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <svg width="7.5cm" height="5cm" viewBox="0 0 200 120" |
michael@0 | 4 | xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 5 | |
michael@0 | 6 | <defs> |
michael@0 | 7 | <filter id="MyFilter" filterUnits="userSpaceOnUse" x="0" y="0" width="200" height="120"> |
michael@0 | 8 | |
michael@0 | 9 | <feOffset in="SourceAlpha" result="offset" dx="4" dy="4" y="76"/> |
michael@0 | 10 | |
michael@0 | 11 | <feSpecularLighting in="offset" result="specOut" |
michael@0 | 12 | surfaceScale="5" specularConstant=".75" specularExponent="20"> |
michael@0 | 13 | <fePointLight x="-5000" y="-10000" z="20000"/> |
michael@0 | 14 | </feSpecularLighting> |
michael@0 | 15 | |
michael@0 | 16 | <feComposite in="SourceAlpha" in2="SourceAlpha" result="litPaint" |
michael@0 | 17 | operator="arithmetic" k1="0" k2="1" k3="1" k4="0"/> |
michael@0 | 18 | |
michael@0 | 19 | <feMerge> |
michael@0 | 20 | <feMergeNode in="offset"/> |
michael@0 | 21 | <feMergeNode in="litPaint"/> |
michael@0 | 22 | </feMerge> |
michael@0 | 23 | |
michael@0 | 24 | </filter> |
michael@0 | 25 | </defs> |
michael@0 | 26 | |
michael@0 | 27 | <g filter="url(#MyFilter)"/> |
michael@0 | 28 | |
michael@0 | 29 | </svg> |