layout/reftests/abs-pos/button-2-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 position:relative;
     7 padding:0;
     8 background:green;
     9 width: 200px;
    10 height: 100px;
    11 border:none;
    12 text-align: left;
    13 font: 12px serif;
    14 }
    15 div span {
    16 display:block;
    17 position:absolute;
    18 right:0;
    19 top:0;
    20 width:10px;
    21 height:100%;
    22 background:red;
    23 }
    24 </style>
    25 </head>
    26 <body>
    27 <div>
    28 <span></span>
    29 </div>
    30 </body>
    31 </html>

mercurial