layout/reftests/margin-collapsing/block-percent-2.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 #parent1 {
     6  width: 200px;
     7 }
     8 #block1 {
     9  height: 50px;
    10  margin-bottom: 20%;
    11  background-color: green;
    12 }
    13 #parent2 {
    14  width: 500px;
    15 }
    16 #block2 {
    17  height: 50px;
    18  margin-top: 10%;
    19  background-color: green;
    20 }
    21 </style>
    22 </head>
    23 <body>
    24 <div id="parent1">
    25  <div id="block1"></div>
    26 </div>
    27 <div id="parent2">
    28  <div id="block2"></div>
    29 </div>
    30 </body>
    31 </html>

mercurial