layout/reftests/svg/blend-layer-filter.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" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400" >
     6 <defs>
     7   <filter id="f1" x="0" y="0">
     8     <feGaussianBlur in="SourceGraphic" stdDeviation="15" />
     9   </filter>
    10 </defs>
    11 <rect x="0" y="0" width="160" height="160" fill="rgb(0,255,0)"/>
    12 <g filter="url(#f1)">
    13   <rect x="40" y="40" width="80" height="80" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/>
    14 </g>
    15 </svg>

mercurial