Closed
Bug 55937
Opened 24 years ago
Closed 24 years ago
Text color not reset when switching stylesheet to "None"
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
Future
People
(Reporter: bugzilla, Assigned: pierre)
Details
Attachments
(2 files)
In nightly build 20001005 under Win2K: When selecting "None" from the alternatives in "View | Use style sheet", the text color is not reset to the default. For example, say your default colors are basic black on white. You visit a page that doesn't have colors in the <body> tag and uses a named style sheet like: body { color: white; background-color: black; } If you then switch from the named style sheet to "None", the link and background colors will change to the browser defaults, but the text will remain white, which can render the page unreadable.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Changing to Style System component, cc'ing attinasi, just a hunch he may have some ideas on this.
Assignee: clayton → pierre
Component: Layout → Style System
QA Contact: petersen → chrisd
Assignee | ||
Comment 4•24 years ago
|
||
I guess it comes from the BodyFixupRule. If you change the rule in the attached stylesheet to act on the H1 instead of the Body, it works. We need a way to remove the BodyFixupRule when we switch from an alternate stylesheet to 'none' or to another alternate stylesheet.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 5•24 years ago
|
||
I think this is related to (or dup of?) bug 47760. Suggest: platform=all, OS=all.
Assignee | ||
Comment 6•24 years ago
|
||
Correct: dup of 47760. *** This bug has been marked as a duplicate of 47760 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•