Closed Bug 370842 Opened 19 years ago Closed 19 years ago

ASSERTION: cannot overlap originating cell: 'Error', file nsCellMap.cpp, line 1487

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bernd_mozilla, Assigned: bernd_mozilla)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

626 bytes, application/xhtml+xml
Details
1.33 KB, patch
bzbarsky
: review+
bzbarsky
: superreview+
Details | Diff | Splinter Review
Attached file testcase —
see testcase + patch
Attached patch patch — — Splinter Review
we need the same logic as in ::AppendCell
Assignee: nobody → bernd_mozilla
Status: NEW → ASSIGNED
Attachment #255609 - Flags: superreview?(bzbarsky)
Attachment #255609 - Flags: review?(bzbarsky)
Comment on attachment 255609 [details] [diff] [review] patch >Index: nsCellMap.cpp >+ if (!data || data->IsOrig() || data->IsDead() || data->IsZeroColSpan()) { >+ // stop unless it is a span (zero colspans collapse) >+ if (data && data->IsZeroColSpan()) { I think this might be clearer as: if (!data || data->IsOrig() || data->IsDead()) { // Not a span. Stop. break; } if (data->IsZeroColSpan()) { // Zero colspans collapse. Stop in this case too. CollapseZeroColSpan(aMap, data, aRowIndex, startColIndex); break; } r+sr=bzbarsky either way, though.
Attachment #255609 - Flags: superreview?(bzbarsky)
Attachment #255609 - Flags: superreview+
Attachment #255609 - Flags: review?(bzbarsky)
Attachment #255609 - Flags: review+
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: