Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style. Bug 243588, r+sr=dbaron git-svn-id: svn://10.0.0.236/trunk@156425 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -98,6 +98,10 @@ input {
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
input > .anonymous-div {
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
textarea {
|
||||
margin: 1px 0 1px 0;
|
||||
border: 2px inset ThreeDFace;
|
||||
@@ -120,11 +124,16 @@ textarea > scrollbar {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
*|*::-moz-singleline-textcontrol-frame {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
white-space: nowrap;
|
||||
background-color: inherit;
|
||||
text-align: inherit;
|
||||
textarea > .anonymous-div,
|
||||
input > .anonymous-div {
|
||||
-moz-user-focus: none;
|
||||
overflow: auto;
|
||||
border: 0px !important;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
/* XXXldb I'm not sure if we really want the 'text-decoration: inherit',
|
||||
but it's needed to make 'text-decoration' "work" on text inputs. */
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user