Closed
Bug 588003
Opened 14 years ago
Closed 14 years ago
<select size="N" multiple disabled> has wrong text colour
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 594737
People
(Reporter: neil, Unassigned)
Details
forms.css tries to set the text colour for a disabled select: select[disabled] { -moz-user-input: disabled; -moz-user-focus: ignore; color: GrayText; background-color: ThreeDFace; cursor: inherit; } Unfortunately this is overridden by the rule to set the text colour for a list: select[size][multiple] { /* Different alignment and padding for listbox vs combobox */ background-color: -moz-Field; color: -moz-FieldText; vertical-align: text-bottom; padding: 1px 0 1px 0; -moz-appearance: listbox; } On systems without -moz-appearance, the background is incorrect too. (The cursor style is only there for textboxes; selects are not affected.)
I guess we could change the first selector to select[disabled][disabled].
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•