layout/reftests/svg/use-01-extref-resource.svg

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     6      xmlns:xlink="http://www.w3.org/1999/xlink">
     7   <g id="g3">
     8     <rect width="11%" height="100%" fill="lime" id="r1"/>
     9   </g>
    10   <g id="g4">
    11     <rect width="11%" height="100%" fill="lime"/>
    12     <use x="10%" xlink:href="#r1"/>
    13     <use x="20%" xlink:href="use-01-extref.svg#r2"/>
    14     <use x="10%" xlink:href="use-01-extref.svg#g1"/>
    15   </g>
    16   <g id="g5">
    17     <use xlink:href="#r1"/>
    18     <use x="-60%" xlink:href="use-01-extref.svg#g2"/>
    19   </g>
    20   <g id="g6">
    21     <use xlink:href="#r1"/>
    22     <use x="10%" xlink:href="#g7"/>
    23   </g>
    24   <g id="g7">
    25     <use xlink:href="#g6"/>
    26   </g>
    27 </svg>

mercurial