Closed Bug 383196 Opened 17 years ago Closed 17 years ago

nsTableFrame::ReflowChildren casts frames to wrong concrete type

Categories

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

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: roc)

References

Details

(Whiteboard: [dbaron-1.9:Rs][depends on 383195])

if (NS_STYLE_DISPLAY_TABLE_FOOTER_GROUP == lastChild->GetStyleDisplay()->mDisplay) { // the last child is a tfoot
            // XXXbz what if lastChild is a scrollable tfoot?  Bogus!!
            // dbaron is right -- this should be using thead/tfoot!
            if (((nsTableRowGroupFrame*)lastChild)->IsRepeatable()) {

I can't test a fix until bug 383195 is fixed, unfortunately.
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
My patch in bug 383195 fixes this.
Assignee: nobody → roc
Priority: -- → P4
Whiteboard: [dbaron-1.9:Rs] → [dbaron-1.9:Rs][depends on 383195]
Fixed by checkin for bug 383195.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.