layout/reftests/box-shadow/boxshadow-skiprect-ref.html

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 <!DOCTYPE HTML>
     2 <style>
     4 #thediv {
     5   width: 400px;
     6   height: 250px;
     7   position: absolute;
     8   top: -500px;
     9   left: -500px;
    10   box-shadow: 540px 540px 10.5px black;
    11 }
    13 #blankdiv {
    14   width: 400px;
    15   height: 250px;
    16   background-color: white;
    17   position: absolute;
    18   top: 40px;
    19   left: 40px;
    20 }
    21 </style>
    23 <div id="thediv">&nbsp;</div> 
    24 <div id="blankdiv">&nbsp;</div>

mercurial