layout/reftests/margin-collapsing/block-overflow-4.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 {
     6  height: 20px;
     7  background-color: blue;
     8 }
     9 #overflow {
    10  overflow: auto;
    11  height: 200px;
    12  margin: 20px 0;
    13  background-color: lightgreen;
    14 }
    15 #child {
    16  height: 160px;
    17  margin: 40px 0;
    18  background-color: green;
    19 }
    20 </style>
    21 </head>
    22 <body>
    23 <div class="separator"></div>
    24 <div id="overflow">
    25  <div id="child"></div>
    26 </div>
    27 <div class="separator"></div>
    28 </body>
    29 </html>

mercurial