editor/reftests/xul/input.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/xul/input.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,73 @@
     1.4 +@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
     1.5 +@namespace html url('http://www.w3.org/1999/xhtml');
     1.6 +
     1.7 +#mac html|input, #mac html|textarea {
     1.8 +  margin: 4px;
     1.9 +  padding: 0 1px;
    1.10 +}
    1.11 +
    1.12 +#win html|input, #win html|textarea {
    1.13 +  margin: 2px 4px;
    1.14 +  padding: 2px 3px 3px;
    1.15 +  -moz-padding-start: 5px;
    1.16 +}
    1.17 +
    1.18 +#win html|input:-moz-system-metric(windows-default-theme) {
    1.19 +  padding: 1px 2px 2px;
    1.20 +  -moz-padding-start: 4px;
    1.21 +}
    1.22 +
    1.23 +#linux html|input, #linux html|textarea {
    1.24 +  margin: 2px 4px;
    1.25 +  padding: 2px 5px 3px;
    1.26 +}
    1.27 +
    1.28 +textbox[multiline="true"], html|textarea {
    1.29 +  border: none !important;
    1.30 +  -moz-appearance: none !important;
    1.31 +  border-top-right-radius: 0;
    1.32 +  border-bottom-left-radius: 0;
    1.33 +}
    1.34 +
    1.35 +html|input, html|textarea {
    1.36 +  font: inherit;
    1.37 +}
    1.38 +
    1.39 +html|input.ac {
    1.40 +  padding: 0 4px !important;
    1.41 +}
    1.42 +
    1.43 +#mac html|input.ac {
    1.44 +  padding: 0 3px !important;
    1.45 +}
    1.46 +
    1.47 +html|input.empty {
    1.48 +  color: graytext;
    1.49 +}
    1.50 +
    1.51 +:root:not(.winxp) html|input.empty:-moz-system-metric(windows-default-theme) {
    1.52 +  font-style: italic;
    1.53 +}
    1.54 +
    1.55 +html|input.num {
    1.56 +  text-align: end;
    1.57 +}
    1.58 +
    1.59 +#mac html|input.num {
    1.60 +  -moz-margin-end: 8px;
    1.61 +}
    1.62 +
    1.63 +#win html|input.num {
    1.64 +  padding: 0 !important;
    1.65 +}
    1.66 +
    1.67 +#linux html|input.num {
    1.68 +  -moz-margin-end: 3px;
    1.69 +  padding: 3px 4px;
    1.70 +}
    1.71 +
    1.72 +html|div.plainfield {
    1.73 +  color: -moz-fieldtext;
    1.74 +  white-space: pre;
    1.75 +}
    1.76 +

mercurial