layout/reftests/box-shadow/boxshadow-basic-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>
     3 body {
     4   background-color: green;
     5 }
     7 #thediv {
     8   background-color: green;
     9   width: 300px;
    10   height: 100px;
    11   position: absolute;
    12   top: 20px;
    13   left: 20px;
    14   z-index: 2;
    15 }
    17 #theshadow {
    18   background-color: black;
    19   width: 300px;
    20   height: 100px;
    21   position: absolute;
    22   top: 23px;
    23   left: 23px;
    24   z-index: 1;
    25 }
    26 </style>
    28 <div id="theshadow">&nbsp;</div><div id="thediv">Foo</div> 

mercurial