layout/svg/crashtests/429774-1.svg

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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.

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

mercurial