layout/reftests/box/flexbox-attributes-no-input-horizontal.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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   /* Disable pointer-events so we don't get weird hover artifacts */
    13   pointer-events: none;
    14 }
    16 body > div {
    17   display: -moz-box;
    18   background: yellow;
    19   -moz-box-flex: 1;
    20   -moz-box-orient: horizontal;
    21 }
    23 ]]>
    24 </style>
    25 </head>
    26 <body>
    27 <div>
    28   <input type="text" ordinal="2" value="2" />
    29   <input type="text" ordinal="1" value="1" />
    30   <input type="text" width="100" value="width" />
    31   <input type="text" height="100" value="height" />
    32   <input type="text" minwidth="100" value="minwidth" />
    33   <input type="text" minheight="100" value="minheight" />
    34   <input type="text" maxwidth="50" value="maxwidth" />
    35   <input type="text" maxheight="15" value="maxheight" />
    36   <input type="text" flex="100" value="flex" />
    37 </div>
    38 </body>
    39 </html>

mercurial