layout/reftests/pagination/float-clear-000.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 PUBLIC "-//W3C//DTD HTML 4.01//EN">
     2 <style type="text/css">
     3 .multicol {
     4   margin: 1em;
     5   border: solid silver;
     6   width: 300px;
     7   -moz-column-width: 100px;
     8   -moz-column-gap: 0;
     9   height: 100px;
    10 }
    12 .float {
    13   float: right;
    14   width: 15px;
    15   background: aqua;
    16   height: 250px;
    17 }
    18 .L {
    19   float: left;
    20 }
    22 .container {
    23   width: 100%;
    24   background: red;
    25 }
    27 .clear {
    28   border-bottom: solid orange;
    29 }
    30 </style>
    32 <p>The orange line should be halfway down the third column
    33 (immediately after the end of the aqua lines).
    35 <div class="multicol">
    36   <div class="container">
    37     <div class="float L"></div>
    38     <div class="float R"></div>
    39   </div>
    40   <div class="clear">
    41     <br clear="all">
    42   </div>
    43 </div>

mercurial