Closed
Bug 122348
Opened 23 years ago
Closed 23 years ago
[RR]Stylesheet switching causes textcolor to be wrong [AltSS]
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
People
(Reporter: Daniel.Steinberger, Assigned: dbaron)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.8+)
Gecko/20020126
BuildID: 2002012608
when switching stylesheets and afterwards switching back, the textcolor of the
content is wrong.
Reproducible: Always
Steps to Reproduce:
1. visit URL (testcase also available as ZIP:
http://bugzilla.mozilla.org/attachment.cgi?id=66128&action=view )
2. apply the alternative Stylesheet (View->Use Stylesheet->Enlighten Theme (other))
3. reapply the (View->Use Stylesheet->Enlighten Theme (Default)) default sheet.
4. watch the content text go gray
Actual Results: the content text goes gray
Expected Results: the content text should stay ההhh.. kinda-yellow
I have been searching Bugzilla for similar bugs and found Bug 118560 covering
'Stylesheet switching leaves remnants of old sheet's background [AltSS]'. but
since this is a background problem, i encountered with other pages, too, I
wanted to file a bug for foreground, too.
Comment 1•23 years ago
|
||
Appears to work on IE6
Its been drawing boxes for the past 5 mins now, and no crash.
Dont see it ending though, so its probably going to continue until crash.
![]() |
||
Comment 2•23 years ago
|
||
Confirming on current linux. Over to style system. Looks like bug 122346 to
me... (same cause)
Assignee: attinasi → dbaron
Status: UNCONFIRMED → NEW
Component: Layout → Style System
Depends on: 122346
Ever confirmed: true
OS: Windows XP → All
QA Contact: petersen → ian
Hardware: PC → All
Assignee | ||
Comment 3•23 years ago
|
||
Some sort of ReResolveStyleContext bug, since it also shows up on theme switching.
Summary: Stylesheet switching causes textcolor to be wrong [AltSS] → [RR]Stylesheet switching causes textcolor to be wrong [AltSS]
Problem also shows up on body text at http://www.dzr-web.com/welcome.php
Note that this also affects font-family.
This appears to be a regression between 2001/12/09 and 2001/12/27.
I'm also seeing problems with generated content not showing up, introduced
during this period. I don't know whether they're related.
Comment 5•23 years ago
|
||
A better example of this problem and related problems (e.g. bug 118560) is:
http://www.dzr-web.com/people/darren/music.html
Note that switching between alternate stylesheets messes up color, font-family,
and background.
Comment 6•23 years ago
|
||
Most of these testcases seem to be, for the most part, fixed by the fix for bug
63863. I'll leave this as open, since I might not understand the whole issue,
but this might be able to be duped.
Jake
Assignee | ||
Comment 7•23 years ago
|
||
I have a fix for the testcases mentioned in comment 4 and comment 5. I'm not
sure what fixed the original problem in comment 0, since bug 63863 really only
dealt with background colors.
*** This bug has been marked as a duplicate of 88154 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•