Closed
Bug 334942
Opened 18 years ago
Closed 18 years ago
Crash [@GetTablePartRank] with overflow: auto; display: table-row-group; and onmouseover style change
Categories
(Core :: Layout: Tables, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: roc)
References
Details
(4 keywords)
Crash Data
Attachments
(3 files)
418 bytes,
text/html
|
Details | |
1007 bytes,
patch
|
Details | Diff | Splinter Review | |
4.83 KB,
patch
|
bernd_mozilla
:
review+
|
Details | Diff | Splinter Review |
See upcoming testcase, which crashes current trunk Mozilla build when hovering over the text. Doesn't crash in 2006-04-17 build, crashes in 2006-04-18 build. Talkback ID: TB17801522Y GetTablePartRank nsDisplayList::Sort nsTableFrame::BuildDisplayList nsIFrame::BuildDisplayListForChild Most likely a regression from bug 333481.
Reporter | ||
Comment 1•18 years ago
|
||
sound like the assumption that a rowgroup parent is a table is made, this is wrong for overflow frames there the parent is the scrollframe.
Comment 3•18 years ago
|
||
Me too - TB17809249E (and others this morning) Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060420 Minefield/3.0a1 Win2k platform - anyone try Linux?
Comment 4•18 years ago
|
||
TB17814175E TB17813955W
Summary: Crash with overflow: auto; display: table-row-group; and onmouseover style change → Crash [@GetTablePartRank] with overflow: auto; display: table-row-group; and onmouseover style change
http://lxr.mozilla.org/seamonkey/source/layout/base/nsDisplayList.h#918 says: 918 * In some cases (e.g., clipping) we want to wrap a list but we don't have a 919 * particular underlying frame that is a stacking context root. In that case 920 * we allow the frame to be nsnull. Callers to GetUnderlyingFrame must 921 * detect and handle this case. nsIAtom* type = aItem->GetUnderlyingFrame()->GetType(); isn't exactly complying with this requirement.
Robert I have no idea: - what we need to return if mFrame is 0 - whether we should hit the case at all (aka wallpaper) - why we dont mention the cell frame here below (this might be the other regression)
Assignee | ||
Comment 7•18 years ago
|
||
Ugh. My fix for bug 333481 won't fix the problem in the presence of a scrolling rowgroup. I think we should fix that, and this crash, by calling nsDisplayList::ExplodeAnonymousChildLists before we try to sort by table part rank.
Updated•18 years ago
|
Flags: blocking1.9a1?
Robert:
>I think we should fix that
Is that *we*, you (hopefully) or me?
Assignee | ||
Comment 9•18 years ago
|
||
I'll do it.
Comment 10•18 years ago
|
||
[@ GetTablePartRank] is the #18 topcrash on trunk. Some comments mention real-world pages rather than this testcase. Assuming a fix here will fix the crash and adding "topcrash" keyword.
Keywords: topcrash
Assignee | ||
Comment 11•18 years ago
|
||
What I said ...
Attachment #219825 -
Flags: review?(bernd_mozilla) → review+
Comment 12•18 years ago
|
||
*** Bug 335613 has been marked as a duplicate of this bug. ***
Comment 13•18 years ago
|
||
> Some comments mention > real-world pages rather than this testcase. One is: http://web.tampabay.rr.com/bmerkey/examples/nonscroll-table-header.html
Assignee | ||
Comment 14•18 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Verified FIXED using 04-27-16 build of SeaMonkey trunk on Windows XP with both: https://bugzilla.mozilla.org/attachment.cgi?id=219292&action=view and http://web.tampabay.rr.com/bmerkey/examples/nonscroll-table-header.html testcases.
Status: RESOLVED → VERIFIED
Updated•18 years ago
|
Flags: blocking1.9a1?
Updated•13 years ago
|
Crash Signature: [@GetTablePartRank]
You need to log in
before you can comment on or make changes to this bug.
Description
•