Closed Bug 138867 Opened 22 years ago Closed 22 years ago

[4xp] Poor Colors on Forms when "Use My Chosen Colors" Set

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 58048
mozilla1.1beta

People

(Reporter: mrmazda, Assigned: dbaron)

References

()

Details

2002042008 OS/2 trunk

To reproduce:
1-Set "use my chosen colors" in prefs
2-Open a page using common form elements

Actual behavior:
1-Checkboxes & form & radio buttons have system default background color instead
of customary grey
2-Picklist choices have grey background instead of customary white

Expected behavior:
1-Checkboxes & form & radio buttons have customary grey background color
2-Picklist choices have customary white background color
To style system.  We're overriding the forms.css color settings with the "chosen
colors" and I don't think we want to do that...
Assignee: jst → dbaron
Status: UNCONFIRMED → NEW
Component: DOM Style → Style System
Ever confirmed: true
OS: OS/2 → All
Hardware: PC → All
Severity: normal → major
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsPresShell.cpp#217
8

The universal selector in PresShell::SetPrefColorRules is affecting input, 
select, option, optgroup, textarea, and button. The color/background/border 
rules in forms.css need to cascade over it. This could be done by duplicating 
them as !important rules in the generated user sheet along with the background 
and color pref rule.

The comment at 2158 about the cascade also needs updating...
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.1beta
Is this related to/same as bug 58048?

*** This bug has been marked as a duplicate of 58048 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.