Closed Bug 352449 Opened 19 years ago Closed 19 years ago

better fix for bug 307809 and bug 314502

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Whiteboard: [patch])

Attachments

(1 file)

There's a better fix for bug 307809 and bug 314502 -- we can remove the IsBoxFrame check inside nsGrid::GetScrolledBox -- there's no need to have it there, since all frames reflect themselves as boxes now.
Attached patch patchSplinter Review
This shouldn't change anything, since nsBox::GetLayoutManager (nsFrame is derived from nsBox) returns null. GetScrolledBox doesn't enforce box-ness for non-scroll-frames, so I don't see any reason why it should do so in the one case when it's walking into scrollframes.
Attachment #238136 - Flags: superreview?(bzbarsky)
Attachment #238136 - Flags: review?(bzbarsky)
Comment on attachment 238136 [details] [diff] [review] patch Makes sense.
Attachment #238136 - Flags: superreview?(bzbarsky)
Attachment #238136 - Flags: superreview+
Attachment #238136 - Flags: review?(bzbarsky)
Attachment #238136 - Flags: review+
Checked in to trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: