Closed
Bug 129827
Opened 23 years ago
Closed 23 years ago
[RR][AltSS]Regressions from 92868: Stylesheet switching broken; theme switching crashes [@ nsHTMLReflowState::ComputeMargin]; various pages crash/broken
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: caillon, Assigned: karnaze)
References
()
Details
(4 keywords, Whiteboard: [Hixie-P1][Hixie-1.0])
Crash Data
This is a recent regression. Switching alternate stylesheets no longer works on
the trunk. Using linux 2002030822, and a current CVS build.
View > Use Stylesheet > FooSheet
Actual results:
Nothing changes immediately. Hovering over links will change the link styles to
the new sheet.
| Reporter | ||
Comment 2•23 years ago
|
||
This appears to be caused by karnaze's checkin for bug 92868. Backing that out
locally fixes this for me.
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=karnaze%25netscape.com&whotype=match&sortby=Change+Size&hours=2&date=explicit&mindate=2002%2F03%2F08+07%3A00%3A00&maxdate=2002%2F03%2F08+08%3A00%3A00&cvsroot=%2Fcvsroot
Re-assigning.
Assignee: dbaron → karnaze
The problem is that ENSURE_TRUE(parentContext) causes ReResolveStyleContext to
fail for the root frame. This is a huge regression and prevents me from working
on most of the bugs I was planning to look at for 1.0 (most of which deal with
ReResolveStyleContext.)
Well, fixing what I mentioned in my previous comment fixes the most obvious of
the problems, but there are still some significant problems remaining.
Also, could you please not write lines longer than 80 characters?
I'm presuming that this regression is also what's causing theme switching to crash.
Summary: [AltSS] Stylesheet switching broken → [RR][AltSS] Stylesheet switching broken
Updated•23 years ago
|
OS: Linux → All
Comment 7•23 years ago
|
||
Should we back out the patch in question until these issues are resolved?
I suspect that bug 129850 and bug 129866 may be duplicates of this bug.
*** Bug 129850 has been marked as a duplicate of this bug. ***
Summary: [RR][AltSS] Stylesheet switching broken → [RR][AltSS] Stylesheet switching broken; theme switching crashes
*** Bug 129864 has been marked as a duplicate of this bug. ***
*** Bug 129866 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
The regressive checkin was backed out. Resolving this as FIXED (already
reopened 92868).
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 14•23 years ago
|
||
*** Bug 129800 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 15•23 years ago
|
||
dbaron, it would be really helpful if you could give some examples of what you
mean by "but there are still some significant problems remaining" in comment #5.
When I tried switching stylesheets on http://www.people.fas.harvard.edu/~dbaron/
, the background color changed as it should, but the text color for some of the
text didn't.
Comment 17•23 years ago
|
||
David,
Are you sure you are not just seeing bug 63863? Back on 2002/2/15, you said
you were working on a patch and said that you should "...probably finish it
sometime...". If you have the time, please do. It is a huge problem when
using style switching!
later,
Jake
| Assignee | ||
Comment 18•23 years ago
|
||
With the ENSURE_TRUE(parentContext) removed, switching style contexts on
http://www.people.fas.harvard.edu/~dbaron/ looked ok to me, but I'm not as
familar with that page, so I could be missing something.
Comment 19•23 years ago
|
||
Just a note...I noticed that during the 2 days this crash appeared before the
checkin was backed out, the nsBox::GetBorder crash mentioned in bug 117088 also
showed up again. Coincidence or related? Either way, this crash is gone
according to the latest Talkback data. Marking verified.
Status: RESOLVED → VERIFIED
Yeah, this probably caused the nsBox::GetBorder, FlushMiscWidgetInfo, and
nsCSSFrameConstructor::PaintBackgroundWithSC signatures in talkback as well.
Updated•14 years ago
|
Crash Signature: [@ nsHTMLReflowState::ComputeMargin]
You need to log in
before you can comment on or make changes to this bug.
Description
•