Open Bug 1388898 Opened 7 years ago Updated 2 years ago

nsCellMap::InsertCells is buggy when there are dead cells right after the insert

Categories

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

53 Branch
enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- ?

People

(Reporter: bzbarsky, Unassigned)

References

Details

Attachments

(1 file)

For comparison, nsCellMap::AppendCell will reuse the first dead celldata in the row.  But InsertCells just expands out the row, which can make it wider than the number of columns.  Then we'll try to GetColInfoAt() for those extra columns and actually add columns to the table, causing it to render incorrectly.  Testcase coming up.
Attached file Testcase
Blocks: 1384602
Flags: needinfo?(bzbarsky)
Flags: needinfo?(bzbarsky)
Flags: needinfo?(bzbarsky)
Priority: -- → P3
Flags: needinfo?(bzbarsky)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: