layout/reftests/text-svgglyphs/svg-glyph-objectgradient-ref.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 <svg xmlns="http://www.w3.org/2000/svg">
     3   <defs>
     4     <linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse">
     5       <stop stop-color="purple" offset="0%" />
     6       <stop stop-color="lime" offset="100%" />
     7     </linearGradient>
     8     <radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse">
     9       <stop stop-color="red" offset="0%" />
    10       <stop stop-color="blue" offset="100%" />
    11     </radialGradient>
    12   </defs>
    14   <rect x="20" y="20" width="160" height="160" stroke="none"
    15     fill="url(#grad)" />
    17   <rect x="310" y="10" width="180" height="180" fill="url(#grad)"
    18     stroke="none" />
    20   <rect x="20" y="320" width="160" height="160" fill="burlywood"
    21     stroke="url(#grad2)" stroke-width="10" />
    23   <rect x="310" y="310" width="180" height="180" fill="url(#grad2)"
    24     stroke="url(#grad)" stroke-width="20" />
    25 </svg>

mercurial