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

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <?xml version="1.0"?>
     2 <?xml-stylesheet href="chrome://global/skin/"?>
     3 <window title="textbox align=baseline reference"
     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     #container {
     8       margin-top: 12px;
     9       padding-top: 8px;
    10     }
    11     label, textbox {
    12       -moz-appearance: none;
    13       background: inherit;
    14       border: none 0px;
    15       margin-top: 0px;
    16       padding-top: 0px;
    17       margin-bottom: 0px;
    18       padding-bottom: 0px;
    19     }
    20   </html:style>
    22   <hbox id="container" align="center">
    23     <label value="test"/>
    24     <textbox value="text"/>
    25   </hbox>
    26 </window>

mercurial