nsTableFrame::ReflowChildren casts frames to wrong concrete type

RESOLVED FIXED

Status

()

Core
Layout: Tables
P4
critical
RESOLVED FIXED
11 years ago
10 years ago

People

(Reporter: bz, Assigned: roc)

Tracking

Trunk
x86
Linux
Points:
---
Bug Flags:
blocking1.9 +

Firefox Tracking Flags

(Not tracked)

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+
Whiteboard: [dbaron-1.9:Rs]
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
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.