layout/reftests/margin-collapsing/block-abs-pos-2.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
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  background-color: lightgreen;
    10 }
    11 #in-flow-child {
    12  height: 100px;
    13  margin-top: 40px;
    14  margin-bottom: 40px;
    15  background-color: green;
    16 }
    17 </style>
    18 </head>
    19 <body>
    20 <div id="abs-pos">
    21  <div id="in-flow-child"></div>
    22 </div>
    23 </body>
    24 </html>

mercurial