Closed Bug 9024 Opened 27 years ago Closed 27 years ago

CRASH: insertRow() on TBODY with border-collapse: collapse

Categories

(Core :: Layout: Tables, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: karnaze)

References

Details

(Whiteboard: [TESTCASE] 8/16: request for reporter to verify)

Attachments

(1 file)

Is this DOM Level 1, HTMLTables, or StyleSystem??? insertRow() called on a TBODY element (not a TABLE) causes a crash if the table containing it has border-collapse: collapse. Test case to be attached. (This doesn't seem to happen if the whole thing is nested two layers deep within XUL box elements, so what I'm working on is OK now that it got complicated.)
BTW, I'm seeing this on Linux in: * optimized mozilla.org build 1999-06-24-08-M8 * debug build from source pull from morning of 1999-06-29 The debug build gives the following assertions before it gets to the script: Assertion: "aStartRowIndex>=rowCount in ComputeVerticalCollapsingBorders" (PR_FALSE) at file nsTableFrame.cpp, line 1344 Assertion: "aStartRowIndex>=rowCount in ComputeHorizontalCollapsingBorders" (PR_FALSE) at file nsTableFrame.cpp, line 1300 Maybe this should go to HTMLTables...
Assignee: peterl → karnaze
Component: Style System → HTMLTables
Yes. Tables.
Whiteboard: [TESTCASE]
BTW, I see some of the assertions even without the script. I can also get a crash without script in (much) more complicated cases, but I suspect the same problem (I'm not sure yet).
Sounds like a duplicate of bug 3517.
Status: NEW → ASSIGNED
Target Milestone: M9
Blocks: 3517
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
Whiteboard: [TESTCASE] → [TESTCASE] 8/16: request for reporter to verify
David: Trying to get 6.0 Red Hat installed but still in process. Could you take a look at this bug and if it is fixed, verify it as so? Thanks
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: