layout/reftests/margin-collapsing/block-overflow-5b.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 type="text/css">
     5 #separator-top {
     6  height: 20px;
     7  margin-bottom: 10px;
     8  background-color: green;
     9 }
    10 #overflow {
    11  overflow: hidden;
    12  height: 40px;
    13  margin: 20px 0;
    14  background-color: green;
    15 }
    16 #separator-bottom {
    17  height: 20px;
    18  margin-top: 10px;
    19  background-color: green;
    20 }
    21 </style>
    22 </head>
    23 <body>
    24 <div id="separator-top"></div>
    25 <div id="overflow"></div>
    26 <div id="separator-bottom"></div>
    27 </body>
    28 </html>

mercurial