Closed Bug 391053 Opened 18 years ago Closed 17 years ago

"ASSERTION: Invalid computed height" and more with <select>, padding, margin

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

282 bytes, application/xhtml+xml
Details
Attached file testcase
Loading the testcase triggers a zillion assertions: ###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 283 ###!!! ASSERTION: This shouldn't be called anymore: 'Not Reached', file /Users/jruderman/trunk/mozilla/layout/generic/nsLineLayout.cpp, line 2474 ###!!! ASSERTION: bad width: 'Not Reached', file /Users/jruderman/trunk/mozilla/layout/generic/nsLineLayout.cpp, line 180 ###!!! ASSERTION: no unconstrained widths should be present anymore: 'NS_UNCONSTRAINEDSIZE != aReflowState.ComputedWidth()', file /Users/jruderman/trunk/mozilla/layout/generic/nsBlockReflowState.cpp, line 113 ###!!! ASSERTION: shouldn't have unconstrained widths anymore: 'NS_UNCONSTRAINEDSIZE != aReflowState.availableWidth', file /Users/jruderman/trunk/mozilla/layout/generic/nsLineLayout.cpp, line 1134 ###!!! ASSERTION: shouldn't have unconstrained widths anymore: 'psd->mRightEdge != NS_UNCONSTRAINEDSIZE', file /Users/jruderman/trunk/mozilla/layout/generic/nsLineLayout.cpp, line 823 ###!!! ASSERTION: shouldn't use unconstrained widths anymore: '(mFrameType == NS_CSS_FRAME_TYPE_INLINE && !frame->IsFrameOfType(nsIFrame::eReplaced)) || frame->GetType() == nsGkAtoms::textFrame || mComputedWidth != NS_UNCONSTRAINEDSIZE', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 321 ###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth != NS_UNCONSTRAINEDSIZE', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 300 ###!!! ASSERTION: unconstrained widths no longer supported: 'aContainingBlockWidth != NS_UNCONSTRAINEDSIZE', file /Users/jruderman/trunk/mozilla/layout/base/nsLayoutUtils.cpp, line 1630
Related to bug 383887?
WFM, Mac trunk debug.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Crashtest checked in.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: