layout/reftests/flexbox/flexbox-box-sizing-on-container-horiz-1-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 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <html>
     7 <head>
     8   <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
     9   <meta charset="utf-8">
    10   <style>
    11     .container {
    12       width: 100px;
    13       height: 20px;
    14       border: 5px solid black;
    15     }
    16     .container > * {
    17       height: 18px;
    18       float: left;
    19     }
    20     .itemA {
    21       width: 38px;
    22       background: purple;
    23       border: 1px solid indigo;
    24     }
    25     .itemB {
    26       width: 58px;
    27       background: teal;
    28       border: 1px solid lightblue;
    29     }
    30   </style>
    31 </head>
    32 <body>
    33   <div class="container">
    34     <div class="itemA"></div>
    35     <div class="itemB"></div>
    36   </div>
    37 </body>
    38 </html>

mercurial