Closed
Bug 370586
Opened 18 years ago
Closed 18 years ago
[FIX]Crash [@ nsCellMapColumnIterator::GetNextFrame] with <td style="display: table-footer-group"> and rowspan
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha3
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(3 files)
562 bytes,
application/xhtml+xml
|
Details | |
321 bytes,
application/xhtml+xml
|
Details | |
4.05 KB,
patch
|
bernd_mozilla
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Loading the testcase makes Firefox crash [@ nsCellMapColumnIterator::GetNextFrame].
Reporter | ||
Comment 1•18 years ago
|
||
In a debug build, I see this assertion before the crash:
###!!! ASSERTION: Bogus mOrigCells?: 'mCurMapRow < mCurMapRelevantRowCount', file /Users/jruderman/trunk/mozilla/layout/tables/nsCellMap.cpp, line 2792
Assignee | ||
Comment 2•18 years ago
|
||
Oh, nice!
So the issue is that we have a pseudo cellframe for that <td>. And that pseudo cellframe claims that its rowspan is "3" if you ask it. But when the rowspan is changed, the cellmap is NOT updated, since the cellframe is not the primary frame for the <td>. As a result, we think that it has a span of 3, but it only has a span of 1 in the cellmap, hence crashes.
I don't think the rowspan of 3 should be happening here, frankly.
Assignee | ||
Comment 3•18 years ago
|
||
Jesse, that assertion is pretty much the only way crashes can happen here; I should probably give it more generic text since it seems to catch all sorts of cellmap issue. :(
>that assertion is pretty much the only way crashes can happen here
Yeah somebody has to lead the crowd. Before this BasicTableLayoutStrategy::AssignNonPctColumnWidths had this role. This is just one place where we access all cellmap coordinates and verify by this the correctness of the cellmap.
>So the issue is that we have a pseudo cellframe for that <td>. And that pseudo
>cellframe claims that its rowspan is "3" if you ask it.
Thats basically a style issue?
Assignee | ||
Comment 5•18 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #255307 -
Flags: superreview?(roc)
Attachment #255307 -
Flags: review?(bernd_mozilla)
Assignee | ||
Updated•18 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Summary: Crash [@ nsCellMapColumnIterator::GetNextFrame] with <td style="display: table-footer-group"> and rowspan → [FIX]Crash [@ nsCellMapColumnIterator::GetNextFrame] with <td style="display: table-footer-group"> and rowspan
Target Milestone: --- → mozilla1.9alpha3
Comment on attachment 255307 [details] [diff] [review]
Proposed fix
looks good
Attachment #255307 -
Flags: review?(bernd_mozilla) → review+
Attachment #255307 -
Flags: superreview?(roc) → superreview+
fix checked in on 2007-02-18 17:10
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Crash Signature: [@ nsCellMapColumnIterator::GetNextFrame]
You need to log in
before you can comment on or make changes to this bug.
Description
•