toolkit/themes/osx/reftests/checkboxsize.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" type="text/css"?>
     3 <?xml-stylesheet href="data:text/css,
     4 vbox { height: 50px; }
     5 checkbox {
     6   color: transparent;
     7   margin: 0;
     8 }
     9 " type="text/css"?>
    11 <window title="Checkboxes with mini, small and regular control font"
    12         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    13   <vbox style="font-size: 9px">
    14     <hbox><checkbox label="Mini"/></hbox>
    15   </vbox>
    16   <vbox style="font: message-box">
    17     <hbox><checkbox label="Small"/></hbox>
    18   </vbox>
    19   <vbox style="font: -moz-dialog">
    20     <hbox><checkbox label="Regular"/></hbox>
    21   </vbox>
    22   <vbox style="font-size: 9px">
    23     <hbox><checkbox label="Mini" checked="true"/></hbox>
    24   </vbox>
    25   <vbox style="font: message-box">
    26     <hbox><checkbox label="Small" checked="true"/></hbox>
    27   </vbox>
    28   <vbox style="font: -moz-dialog">
    29     <hbox><checkbox label="Regular" checked="true"/></hbox>
    30   </vbox>
    31 </window>

mercurial