Closed
Bug 215668
Opened 22 years ago
Closed 21 years ago
[FIX]prefs style sheet seems to be looked at after userContent.css
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
FIXED
mozilla1.6alpha
People
(Reporter: mjl+bmo, Assigned: bzbarsky)
Details
Attachments
(1 file)
2.48 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
Creating a user stylesheet with this rule:
:link {
color: black;
}
has no effect - the links are still coloured according to the pref setting.
Looking at a simple page in DOMI, I see the UA styles, then my userContent.css,
and then about:PreferencesStyleSheet, which seems to be the wrong order.
According to BZ and some stuff in older bugs (e.g. bug 103594), the prefs styles
should be before the user style sheet.
I'm seeing this in trunk/2003080804/win2k.
![]() |
Assignee | |
Comment 1•21 years ago
|
||
Mine.
Assignee: dbaron → bzbarsky
OS: Windows 2000 → All
Priority: -- → P2
Hardware: PC → All
Summary: prefs style sheet seems to be looked at after userContent.css → [FIX]prefs style sheet seems to be looked at after userContent.css
Target Milestone: --- → mozilla1.6alpha
![]() |
Assignee | |
Comment 2•21 years ago
|
||
![]() |
Assignee | |
Updated•21 years ago
|
Attachment #132077 -
Flags: superreview?(dbaron)
Attachment #132077 -
Flags: review?(dbaron)
Comment on attachment 132077 [details] [diff] [review]
Patch
Sure, although the style set concept of order seems backwards. (Why does
GatherRuleProcessors use EnumerateBackwards?) But that seems a bit of a pain
to change, and it's even documented in nsIStyleSet.h. (Finding nsIStyleSet.h
in the tree is left as an exercise to the reader.)
Attachment #132077 -
Flags: superreview?(dbaron)
Attachment #132077 -
Flags: superreview+
Attachment #132077 -
Flags: review?(dbaron)
Attachment #132077 -
Flags: review+
![]() |
Assignee | |
Comment 4•21 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•21 years ago
|
||
thanks bz.
verified working in 2003100404/win2k.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•