Open Bug 1467519 Opened 2 years ago Updated 7 months ago

Assertion failure: nscoord((1 << 30) - 1) != aContainingBlockBSize || !aCoord.HasPercent() (unexpected containing block block-size), at nsLayoutUtils.cpp:5630

Categories

(Core :: Layout, defect, P4)

defect

Tracking

()

Tracking Status
firefox-esr68 --- affected
firefox62 --- wontfix
firefox69 --- wontfix
firefox70 --- affected
firefox71 --- affected

People

(Reporter: truber, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase.html
The attached testcase causes an assertion in m-c 20180607-199a08519981.

#0: nsLayoutUtils::ComputeBSizeDependentValue(int, nsStyleCoord const&)
        at layout/base/nsLayoutUtils.cpp:5628
#1: mozilla::ReflowInput::InitAbsoluteConstraints(nsPresContext*, mozilla::ReflowInput const*, mozilla::LogicalSize const&, mozilla::LayoutFrameType)
        at layout/generic/ReflowInput.cpp:1682
#2: mozilla::ReflowInput::InitConstraints(nsPresContext*, mozilla::LogicalSize const&, nsMargin const*, nsMargin const*, mozilla::LayoutFrameType)
        at layout/generic/ReflowInput.cpp:2384
#3: mozilla::ReflowInput::Init(nsPresContext*, mozilla::LogicalSize const*, nsMargin const*, nsMargin const*)
        at layout/generic/ReflowInput.cpp:414
#4: nsAbsoluteContainingBlock::ReflowAbsoluteFrame(nsIFrame*, nsPresContext*, mozilla::ReflowInput const&, nsRect const&, nsAbsoluteContainingBlock::AbsPosReflowFlags, nsIFrame*, nsReflowStatus&, nsOverflowAreas*)
        at layout/generic/nsAbsoluteContainingBlock.cpp:703
#5: nsAbsoluteContainingBlock::Reflow(nsContainerFrame*, nsPresContext*, mozilla::ReflowInput const&, nsReflowStatus&, nsRect const&, nsAbsoluteContainingBlock::AbsPosReflowFlags, nsOverflowAreas*)
        at layout/generic/nsAbsoluteContainingBlock.cpp:169
#6: nsBlockFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
        at layout/generic/nsBlockFrame.cpp:1443
#7: nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, unsigned int, nsReflowStatus&, nsOverflowContinuationTracker*)
        at layout/generic/nsContainerFrame.cpp:951
#8: nsCanvasFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
        at layout/generic/nsCanvasFrame.cpp:714
#9: nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, unsigned int, nsReflowStatus&, nsOverflowContinuationTracker*)
        at layout/generic/nsContainerFrame.cpp:951
#10: nsHTMLScrollFrame::ReflowScrolledFrame(mozilla::ScrollReflowInput*, bool, bool, mozilla::ReflowOutput*, bool)
        at layout/generic/nsGfxScrollFrame.cpp:557
#11: nsHTMLScrollFrame::ReflowContents(mozilla::ScrollReflowInput*, mozilla::ReflowOutput const&)
        at layout/generic/nsGfxScrollFrame.cpp:679
#12: nsHTMLScrollFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
        at layout/generic/nsGfxScrollFrame.cpp:1055
Flags: in-testsuite?
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.