layout/reftests/box/flexbox-abspos-container-1b.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 <!-- Any copyright is dedicated to the Public Domain.
     2      http://creativecommons.org/publicdomain/zero/1.0/ -->
     3 <!-- This testcase is the same as the -1a version, but with -moz-inline-box. -->
     4 <html>
     5   <head>
     6     <style>
     7       .box { display: -moz-inline-box }
     8       .relpos_parent {
     9         position: relative;
    10         width: 100px;
    11         height: 100px;
    12         background: lightblue;
    13       }
    14       .abspos_child {
    15         position: absolute;
    16         left: 30px;
    17         bottom: 10px;
    18         width: 20px;
    19         height: 20px;
    20         background: purple;
    21       }
    22     </style>
    23   </head>
    24   <body>
    25     <div class="box relpos_parent">
    26       <div class="abspos_child"></div>
    27     </div>
    28   </body>
    29 </html>

mercurial