Closed Bug 357044 Opened 20 years ago Closed 19 years ago

[FIX][reflow branch] ASSERTION: Different heights?: 'mButtonFrame->GetSize().height == mDisplayFrame->GetSize().height', file nsComboboxControlFrame.cpp, line 698

Categories

(Core :: Layout: Form Controls, defect, P3)

Other Branch
x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha4

People

(Reporter: MatsPalmgren_bugz, Assigned: bzbarsky)

References

Details

(Keywords: assertion, testcase, Whiteboard: [combobox])

Attachments

(3 files)

###!!! ASSERTION: Different heights?: 'mButtonFrame->GetSize().height == mDisplayFrame->GetSize().height', file nsComboboxControlFrame.cpp, line 698 http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/layout/forms/nsComboboxControlFrame.cpp&rev=1.375.2.1&root=/cvsroot&mark=696-698#676
Attached file Testcase #1 —
Attached file some debug data... —
Summary: [reflow-branch] ASSERTION: Different heights?: 'mButtonFrame->GetSize().height == mDisplayFrame->GetSize().height', file nsComboboxControlFrame.cpp, line 698 → [reflow branch] ASSERTION: Different heights?: 'mButtonFrame->GetSize().height == mDisplayFrame->GetSize().height', file nsComboboxControlFrame.cpp, line 698
Hmm. So this will happen any time the combobox's mComputedHeight is smaller than the borderPadding of either the button or the display area. I suppose I could just remove the assert or something. Or change it to a warning. There's no reasonable way to render that markup "right" in any case.
Assignee: nobody → bzbarsky
Blocks: 357449
Attached patch Fix — — Splinter Review
Attachment #262451 - Flags: superreview?(roc)
Attachment #262451 - Flags: review?(roc)
Priority: -- → P3
Summary: [reflow branch] ASSERTION: Different heights?: 'mButtonFrame->GetSize().height == mDisplayFrame->GetSize().height', file nsComboboxControlFrame.cpp, line 698 → [FIX][reflow branch] ASSERTION: Different heights?: 'mButtonFrame->GetSize().height == mDisplayFrame->GetSize().height', file nsComboboxControlFrame.cpp, line 698
Target Milestone: --- → mozilla1.9alpha4
Attachment #262451 - Flags: superreview?(roc)
Attachment #262451 - Flags: superreview+
Attachment #262451 - Flags: review?(roc)
Attachment #262451 - Flags: review+
Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: