layout/reftests/flexbox/flexbox-float-2-ref.xhtml

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 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <!--
     7      This reference case uses a div with "text-align: center" in place of a
     8      flex container, and has the text "lll" and "rrr" already placed at the
     9      target position instead of having it positioned with the "float" property.
    10 -->
    11 <html xmlns="http://www.w3.org/1999/xhtml">
    12   <head>
    13     <style>
    14       div.flexbox {
    15         text-align: center;
    16         font-family: sans-serif;
    17         width: 400px;
    18         margin-bottom: 2px;
    19         background: lightgreen;
    20         justify-content: space-around;
    21       }
    22     </style>
    23   </head>
    24   <body>
    25     <div class="flexbox">
    26       lllaaabbb
    27     </div>
    28     <div class="flexbox">
    29       aaabbbrrr
    30     </div>
    32     <div class="flexbox">
    33       lllaaabbb
    34     </div>
    35     <div class="flexbox">
    36       aaabbbrrr
    37     </div>
    38   </body>
    39 </html>

mercurial