layout/reftests/svg/dynamic-use-nested-01-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" version="1.1"
     2      xmlns:xlink="http://www.w3.org/1999/xlink" >
     4   <g style="fill: blue;">
     5     <g id="g1">
     6       <rect id="rect" x="20%" width="4%" height="100%"/>
     7     </g>
     8   </g>
    10   <g style="fill: green;">
    11     <g id="g2">
    12       <use x="20%" xlink:href="#g1"/>
    13     </g>
    14   </g>
    16   <g style="fill: red;">
    17     <use x="20%" xlink:href="#g2"/>
    18   </g>
    20 </svg>

mercurial