layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-3-iframe.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 <html>
     2   <head>
     3     <style>
     4       body {
     5         margin: 0;
     6       }
     7       #container {
     8         display: flex;
     9         flex-direction: column;
    10         border: 10px solid lime;
    11         width: 80px;
    12         height: 80px;
    13         background-color: red;
    14       }
    15       #item {
    16         background-color: lime;
    17         min-height: 0;
    18         width: 80px;
    19         height: auto;
    20         line-height: 80px;
    21       }
    22     </style>
    23   </head>
    24   <body>
    25     <div id="container">
    26       <div id="item">&nbsp;</div>
    27     </div>
    28   </body>
    29 </html>

mercurial