Created attachment 453337 [details] the html to open build a debug webkit and open the html ASSERTION FAILED: contentSize >= 0 ../../Source/WebCore/rendering/RenderFlexibleBox.cpp(1298) : std::pair<WebCore::LayoutUnit, WebCore::LayoutUnit> WebCore::RenderFlexibleBox::computeFlexItemMinMaxSizes(WebCore::RenderBox&) 1 0x7fcd77467964 WTFReportBacktrace 2 0x7fcd77467c01 WTFCrash 3 0x7fcd90f5eba1 WTF::CrashOnOverflow::overflowed() 4 0x7fcd9a8d0fc2 WebCore::RenderFlexibleBox::computeFlexItemMinMaxSizes(WebCore::RenderBox&) 5 0x7fcd9a8d2aac WebCore::RenderFlexibleBox::constructFlexItem(WebCore::RenderBox&, bool) 6 0x7fcd9a8cdb04 WebCore::RenderFlexibleBox::layoutFlexItems(bool) 7 0x7fcd9a8c53e3 WebCore::RenderFlexibleBox::layoutBlock(bool, WebCore::LayoutUnit) 8 0x7fcd9a6988ab WebCore::RenderBlock::layout() 9 0x7fcd9a5dbe9e WebCore::RenderElement::layoutIfNeeded() 10 0x7fcd9a8d8966 WebCore::RenderFlexibleBox::layoutAndPlaceChildren(WebCore::LayoutUnit&, WTF::Vector<WebCore::FlexItem, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit, bool, WTF::Vector<WebCore::RenderFlexibleBox::LineContext, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit) 11 0x7fcd9a8ce60a WebCore::RenderFlexibleBox::layoutFlexItems(bool) 12 0x7fcd9a8c53e3 WebCore::RenderFlexibleBox::layoutBlock(bool, WebCore::LayoutUnit) 13 0x7fcd9a6988ab WebCore::RenderBlock::layout() 14 0x7fcd9a5dbe9e WebCore::RenderElement::layoutIfNeeded() 15 0x7fcd9a8d8966 WebCore::RenderFlexibleBox::layoutAndPlaceChildren(WebCore::LayoutUnit&, WTF::Vector<WebCore::FlexItem, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit, bool, WTF::Vector<WebCore::RenderFlexibleBox::LineContext, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit) 16 0x7fcd9a8ce60a WebCore::RenderFlexibleBox::layoutFlexItems(bool) 17 0x7fcd9a8c53e3 WebCore::RenderFlexibleBox::layoutBlock(bool, WebCore::LayoutUnit) 18 0x7fcd9a6988ab WebCore::RenderBlock::layout() 19 0x7fcd9a5dbe9e WebCore::RenderElement::layoutIfNeeded() 20 0x7fcd9a8d8966 WebCore::RenderFlexibleBox::layoutAndPlaceChildren(WebCore::LayoutUnit&, WTF::Vector<WebCore::FlexItem, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit, bool, WTF::Vector<WebCore::RenderFlexibleBox::LineContext, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit) 21 0x7fcd9a8ce60a WebCore::RenderFlexibleBox::layoutFlexItems(bool) 22 0x7fcd9a8c53e3 WebCore::RenderFlexibleBox::layoutBlock(bool, WebCore::LayoutUnit) 23 0x7fcd9a6988ab WebCore::RenderBlock::layout() 24 0x7fcd9a771a40 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) 25 0x7fcd9a770c96 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) 26 0x7fcd9a76efa4 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) 27 0x7fcd9a6988ab WebCore::RenderBlock::layout() 28 0x7fcd9a5dbe9e WebCore::RenderElement::layoutIfNeeded() 29 0x7fcd9a8d8966 WebCore::RenderFlexibleBox::layoutAndPlaceChildren(WebCore::LayoutUnit&, WTF::Vector<WebCore::FlexItem, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit, bool, WTF::Vector<WebCore::RenderFlexibleBox::LineContext, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::LayoutUnit) 30 0x7fcd9a8ce60a WebCore::RenderFlexibleBox::layoutFlexItems(bool) 31 0x7fcd9a8c53e3 WebCore::RenderFlexibleBox::layoutBlock(bool, WebCore::LayoutUnit) ** (MiniBrowser:638731): WARNING **: 14:54:25.106: WebProcess CRASHED Terminated
<rdar://problem/89873406>
Similar got fixed in following Blink commit: https://src.chromium.org/viewvc/blink?view=revision&revision=196014
(In reply to Ahmad Saleem from comment #2) > Similar got fixed in following Blink commit: > https://src.chromium.org/viewvc/blink?view=revision&revision=196014 To add here - https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderFlexibleBox.cpp#142