layout/reftests/layers/move-to-background-1-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
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="top:200px; z-index:1">Hello</div>
    17   <div style="opacity:0.5; top:100px; z-index:2">Hello</div>
    18 </body>
    19 </html>

mercurial