Closed Bug 25148 Opened 25 years ago Closed 25 years ago

Table layout not correct after inserting row/column when colspan=0 or rowspan=0

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cmanske, Assigned: karnaze)

Details

Attachments

(2 files)

Load the test file into Composer For colspan test: 1. Put caret in "Cell 2" 2. Execute menu command: Table|Insert|Column before A new columns is inserted, but the cell 4, with colspan=0, should now extend one more cell to the end of the table. For rowspan test: 1. Put caret in "Cell 6" 2. Execute Table|Insert|Row below A new row is inserted, but cell 5, with rowspan=0, should now extend one more cell downward to the end of the table.
Status: NEW → ASSIGNED
Target Milestone: M14
Charlie, get my checkins from this evening and tell me if the 1st problem is solved. I'm not sure what the editor is doing when it inserts a column. Also, in the 2nd problem, nsHTMLEditor::InsertTableRow gets into an infinite loop because it is calling GetCellDataAt with the same row and col indices.
Assignee: karnaze → cmanske
Status: ASSIGNED → NEW
Attached file The CORRECT table to test this bug (deleted) —
Sorry, the table supplied was not the correct one. The problem seems fixed for the COLSPAN=0 case. Use the new table to test the ROWSPAN=0 case -- that problem still occurs. I'll look into the infinite loop problem -- thanks for finding it!
Assignee: cmanske → karnaze
Fixed with latest checkin.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Fixed in the Feb 22 build.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: