layout/reftests/margin-collapsing/block-abs-pos-2-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 #abs-pos {
     6  position: absolute;
     7  top: 20px; left: 20px;
     8  width: 200px;
     9  padding: 40px 0;
    10  background-color: lightgreen;
    11 }
    12 #in-flow-child {
    13  height: 100px;
    14  background-color: green;
    15 }
    16 </style>
    17 </head>
    18 <body>
    19 <div id="abs-pos">
    20  <div id="in-flow-child"></div>
    21 </div>
    22 </body>
    23 </html>

mercurial