layout/reftests/box-properties/min-height-1-ref.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>
     5       div:empty { background: yellow; border: 1px solid black;
     6                   padding: 0; margin: 0; }
     7       body > div:not(:empty) { height: 20px; }
     8     </style>
     9   </head>
    10   <body>
    11     <div style="height: 10px;"></div>
    12     <div style="height: 15px;"></div>
    13     <div>
    14       <div style="height: 10px;"></div>
    15     </div>
    16     <div>
    17       <div style="height: 10px;"></div>
    18     </div>
    19     <div>
    20       <div style="height: 15px;"></div>
    21     </div>
    22     <div>
    23       <div style="height: 10px;"></div>
    24     </div>
    25     <div>
    26       <div style="height: 15px;"></div>
    27     </div>
    28     <div style="padding: 10px 0;">
    29       <div style="height: 10px;"></div>
    30     </div>
    31     <div style="padding: 10px 0;">
    32       <div style="height: 15px;"></div>
    33     </div>
    34     <div style="border-width: 10px 0; border-style: solid;
    35                 border-color: transparent;">
    36       <div style="height: 10px;"></div>
    37     </div>
    38     <div style="border-width: 10px 0; border-style: solid;
    39                 border-color: transparent;">
    40       <div style="height: 15px;"></div>
    41     </div>
    42   </body>
    43 </html>

mercurial