gecko/editor/reftests/xul/input.css
Alex Henrie bd103dbad3 Bug 157846. Main patch: Propagate text <input> padding down to its scrolled child and add 1px left/right padding to stylesheets as needed. Fix tests. r=roc
Original patch by Charly Molter. Help from Robert O'Callahan and Jim Mathies.

--HG--
extra : rebase_source : eacfe5696e9831f149157bbd7fe697c0f8020604
2014-01-13 08:13:10 -05:00

75 lines
1.3 KiB
CSS

@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
@namespace html url('http://www.w3.org/1999/xhtml');
#mac html|input, #mac html|textarea {
margin: 4px;
padding: 0 1px;
}
#win html|input, #win html|textarea {
margin: 2px 4px;
padding: 2px 3px 3px;
-moz-padding-start: 5px;
}
#win html|input:-moz-system-metric(windows-default-theme) {
padding: 1px 2px 2px;
-moz-padding-start: 4px;
}
#linux html|input, #linux html|textarea {
margin: 2px 4px;
padding: 2px 5px 3px;
}
textbox[multiline="true"], html|textarea {
border: none !important;
-moz-appearance: none !important;
border-top-right-radius: 0;
border-bottom-left-radius: 0;
}
html|input, html|textarea {
font: inherit;
}
html|input.ac {
padding: 0 4px !important;
}
#mac html|input.ac {
padding: 0 3px !important;
}
html|input.empty {
color: graytext;
}
:root:not(.winxp) html|input.empty:-moz-system-metric(windows-default-theme) {
font-style: italic;
}
html|input.num {
text-align: end;
}
#mac html|input.num {
-moz-margin-end: 8px;
}
#win html|input.num {
padding: 0 !important;
}
#linux html|input.num {
-moz-margin-end: 3px;
padding: 3px 4px;
}
html|div.plainfield {
-moz-margin-start: 1px;
color: -moz-fieldtext;
white-space: pre;
}