layout/reftests/margin-collapsing/block-float-2a-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 type="text/css">
     5 #separator {
     6  height: 20px;
     7  background-color: green;
     8 }
     9 #float {
    10  width: 50px;
    11  margin-right: auto;
    12  padding: 40px 0;
    13  background-color: green;
    14 }
    15 #child {
    16  height: 20px;
    17  background-color: lightgreen;
    18 }
    19 #spacer {
    20  height: 20px;
    21 }
    22 </style>
    23 </head>
    24 <body>
    25 <div id="separator"></div>
    26 <div id="spacer"></div>
    27 <div id="float">
    28  <div id="child"></div>
    29 </div>
    30 </body>
    31 </html>

mercurial