layout/reftests/forms/textbox/align-baseline-1.xul

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 <?xml version="1.0"?>
     2 <?xml-stylesheet href="chrome://global/skin/"?>
     3 <window title="textbox align=baseline test (bug 494901)"
     4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     5 	xmlns:html="http://www.w3.org/1999/xhtml">
     6   <html:style type="text/css">
     7     hbox {
     8       margin-top: 0px;
     9       padding-top: 0px;
    10     }
    11     label, textbox {
    12       -moz-appearance: none;
    13       background: inherit;
    14       border: none 0px;
    15     }
    16     label {
    17       margin-top: 0px;
    18       padding-top: 0px;
    19       margin-bottom: 0px;
    20       padding-bottom: 0px;
    21     }
    22     textbox {
    23       margin-top: 12px;
    24       padding-top: 8px;
    25       margin-bottom: 5px;
    26       padding-bottom: 9px;
    27     }
    28   </html:style>
    30   <hbox align="baseline">
    31     <label value="test"/>
    32     <textbox value="text"/>
    33   </hbox>
    34 </window>

mercurial