Closed Bug 399536 Opened 17 years ago Closed 9 years ago

ASSERTION: shouldn't use unconstrained widths anymore and computed width should always be computed with input with hidden border

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
I'm getting a whole load of assertions with this testcase in current trunk build:
WARNING: Overflowed nscoord_MAX in conversion to nscoord: file ../../dist/includ
e/xpcom/nsUnitConversion.h, line 100
WARNING: empty langgroup: file c:/mozilla/mozilla/gfx/thebes/src/gfxFont.cpp, li
ne 871
###!!! ASSERTION: shouldn't use unconstrained widths anymore: '(mFrameType == NS
_CSS_FRAME_TYPE_INLINE && !frame->IsFrameOfType(nsIFrame::eReplaced)) || frame->
GetType() == nsGkAtoms::textFrame || mComputedWidth != NS_UNCONSTRAINEDSIZE', fi
le c:/mozilla/mozilla/layout/generic/nsHTMLReflowState.cpp, line 323
###!!! ASSERTION: computed width should always be computed: 'computedSize.width
!= NS_INTRINSICSIZE', file c:/mozilla/mozilla/layout/xul/base/src/nsBoxFrame.cpp
, line 707
###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth !=
 NS_UNCONSTRAINEDSIZE', file c:/mozilla/mozilla/layout/generic/nsHTMLReflowState
.cpp, line 302
###!!! ASSERTION: shouldn't use unconstrained widths anymore: '(mFrameType == NS
_CSS_FRAME_TYPE_INLINE && !frame->IsFrameOfType(nsIFrame::eReplaced)) || frame->
GetType() == nsGkAtoms::textFrame || mComputedWidth != NS_UNCONSTRAINEDSIZE', fi
le c:/mozilla/mozilla/layout/generic/nsHTMLReflowState.cpp, line 323
###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth !=
 NS_UNCONSTRAINEDSIZE', file c:/mozilla/mozilla/layout/generic/nsHTMLReflowState
.cpp, line 302
###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth !=
 NS_UNCONSTRAINEDSIZE', file c:/mozilla/mozilla/layout/generic/nsHTMLReflowState
.cpp, line 302
###!!! ASSERTION: this shouldn't happen anymore: 'NS_UNCONSTRAINEDSIZE != aCompu
tedWidth && NS_UNCONSTRAINEDSIZE != aAvailWidth', file c:/mozilla/mozilla/layout
/generic/nsHTMLReflowState.cpp, line 1924
###!!! ASSERTION: bad width: 'Not Reached', file c:/mozilla/mozilla/layout/gener
ic/nsLineLayout.cpp, line 176
Area(div)(-1)@1515A848: Init: bad caller: width WAS 1073741704(0x3fffff88)
nsLineLayout: nsTextControlFrame@1515A4C4 metrics=1073741824,1080!
###!!! ASSERTION: shouldn't use unconstrained widths anymore: '(mFrameType == NS
_CSS_FRAME_TYPE_INLINE && !frame->IsFrameOfType(nsIFrame::eReplaced)) || frame->
GetType() == nsGkAtoms::textFrame || mComputedWidth != NS_UNCONSTRAINEDSIZE', fi
le c:/mozilla/mozilla/layout/generic/nsHTMLReflowState.cpp, line 323
###!!! ASSERTION: computed width should always be computed: 'computedSize.width
!= NS_INTRINSICSIZE', file c:/mozilla/mozilla/layout/xul/base/src/nsBoxFrame.cpp
, line 707
###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth !=
 NS_UNCONSTRAINEDSIZE', file c:/mozilla/mozilla/layout/generic/nsHTMLReflowState
.cpp, line 302
###!!! ASSERTION: shouldn't use unconstrained widths anymore: '(mFrameType == NS
_CSS_FRAME_TYPE_INLINE && !frame->IsFrameOfType(nsIFrame::eReplaced)) || frame->
GetType() == nsGkAtoms::textFrame || mComputedWidth != NS_UNCONSTRAINEDSIZE', fi
le c:/mozilla/mozilla/layout/generic/nsHTMLReflowState.cpp, line 323
###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth !=
 NS_UNCONSTRAINEDSIZE', file c:/mozilla/mozilla/layout/generic/nsHTMLReflowState
.cpp, line 302
###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth !=
 NS_UNCONSTRAINEDSIZE', file c:/mozilla/mozilla/layout/generic/nsHTMLReflowState
.cpp, line 302
###!!! ASSERTION: this shouldn't happen anymore: 'NS_UNCONSTRAINEDSIZE != aCompu
tedWidth && NS_UNCONSTRAINEDSIZE != aAvailWidth', file c:/mozilla/mozilla/layout
/generic/nsHTMLReflowState.cpp, line 1924
###!!! ASSERTION: bad width: 'Not Reached', file c:/mozilla/mozilla/layout/gener
ic/nsLineLayout.cpp, line 176
Area(div)(-1)@1515A848: Init: bad caller: width WAS 1073741704(0x3fffff88)
nsLineLayout: nsTextControlFrame@1515A4C4 metrics=1073741824,1080!
--DOMWINDOW == 9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: