layout/reftests/layers/move-to-background-1.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 <html>
     3 <head>
     4 <style>
     5 div {
     6   overflow:hidden;
     7   width:200px;
     8   height:80px;
     9   position:absolute;
    10   left:10px;
    11 }
    12 </style>
    13 </head>
    14 <body>
    15   <div style="top:0px; z-index:0">Hello</div>
    16   <div style="opacity:0.5; top:100px; z-index:1">Hello</div>
    17   <div style="top:200px; z-index:2">Hello</div>
    18 </body>
    19 </html>

mercurial