layout/reftests/box/flexbox-attributes-no-input-vertical-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 <!DOCTYPE HTML>
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <head>
     4 <title>Test that XUL attributes are not supported on non-XUL elements</title>
     5 <style type="text/css">
     6 <![CDATA[
     8 html, body {
     9   display: -moz-box;
    10   margin: 0; padding: 0;
    11   width: 100%; height: 100%;
    12 }
    14 body > div {
    15   display: -moz-box;
    16   background: yellow;
    17   -moz-box-flex: 1;
    18   -moz-box-orient: vertical;
    19 }
    21 ]]>
    22 </style>
    23 </head>
    24 <body>
    25 <div>
    26   <input type="text" value="2" />
    27   <input type="text" value="1" />
    28   <input type="text" value="width" />
    29   <input type="text" value="height" />
    30   <input type="text" value="minwidth" />
    31   <input type="text" value="minheight" />
    32   <input type="text" value="maxwidth" />
    33   <input type="text" value="maxheight" />
    34   <input type="text" value="flex" />
    35 </div>
    36 </body>
    37 </html>

mercurial