Open Bug 413028 Opened 13 years ago Updated 4 years ago

NS_UNCONSTRAINEDSIZE assertions with percentage padding, -moz-inline-grid

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
Loading the testcase triggers a bunch of NS_UNCONSTRAINEDSIZE assertions, such as:

###!!! ASSERTION: shouldn't use unconstrained widths anymore: 'availableWidth != NS_UNCONSTRAINEDSIZE', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 295
nsFrame::RefreshSizeCache is calling BoxReflow() with an unconstrained pref size:

5782        rv = BoxReflow(aState, presContext, desiredSize, rendContext,
5783                       rect.x, rect.y,
5784                       metrics->mBlockPrefSize.width, NS_UNCONSTRAINEDSIZE);
(gdb) p metrics->mBlockPrefSize
$7 = {width = 1073741824, height = -1}

Component: Layout → XUL
You need to log in before you can comment on or make changes to this bug.