Bug 231274

Summary: ASSERTION FAILED: m_collapsibleLogicalWidth <= m_logicalWidth in WebCore::Layout::InlineContentBreaker::ContinuousContent::append
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case
none
Patch none

Description Fujii Hironori 2021-10-05 19:07:37 PDT
Created attachment 440320 [details]
test case

ASSERTION FAILED: m_collapsibleLogicalWidth <= m_logicalWidth in WebCore::Layout::InlineContentBreaker::ContinuousContent::append

I'm testing with WinCairo Debug WK2 trunk@283591.

ASSERTION FAILED: m_collapsibleLogicalWidth <= m_logicalWidth
C:\home\webkit\gc\Source\WebCore\layout/formattingContexts/inline/InlineContentBreaker.cpp(528) : WebCore::Layout::InlineContentBreaker::ContinuousContent::append
1   00007FF9427C217B WTFCrash
2   00007FF8DE05AAAE WTFCrashWithInfo
3   00007FF8E26A9519 WebCore::Layout::InlineContentBreaker::ContinuousContent::append
4   00007FF8E26EE060 WebCore::Layout::LineCandidate::InlineContent::appendInlineItem
5   00007FF8E26CE251 WebCore::Layout::LineBuilder::candidateContentForLine
6   00007FF8E26D0D13 WebCore::Layout::LineBuilder::placeInlineContent
7   00007FF8E26CD8D6 WebCore::Layout::LineBuilder::layoutInlineContent
8   00007FF8E26BAE8E WebCore::Layout::InlineFormattingContext::lineLayout
9   00007FF8E26BA4E3 WebCore::Layout::InlineFormattingContext::lineLayoutForIntergration
10  00007FF8E27207E3 WebCore::LayoutIntegration::LineLayout::layout
11  00007FF8E301AF3D WebCore::RenderBlockFlow::layoutModernLines
12  00007FF8E30082BE WebCore::RenderBlockFlow::layoutInlineChildren
13  00007FF8E300647E WebCore::RenderBlockFlow::layoutBlock
14  00007FF8E2FF8F0F WebCore::RenderBlock::layout
15  00007FF8E3009226 WebCore::RenderBlockFlow::layoutBlockChild
16  00007FF8E30081C3 WebCore::RenderBlockFlow::layoutBlockChildren
17  00007FF8E300649D WebCore::RenderBlockFlow::layoutBlock
18  00007FF8E2FF8F0F WebCore::RenderBlock::layout
19  00007FF8E3009226 WebCore::RenderBlockFlow::layoutBlockChild
20  00007FF8E30081C3 WebCore::RenderBlockFlow::layoutBlockChildren
21  00007FF8E300649D WebCore::RenderBlockFlow::layoutBlock
22  00007FF8E2FF8F0F WebCore::RenderBlock::layout
23  00007FF8E326E7B5 WebCore::RenderView::layout
24  00007FF8E29A3973 WebCore::FrameViewLayoutContext::layout
25  00007FF8E1D0B6AD WebCore::Document::implicitClose
26  00007FF8E27B7184 WebCore::FrameLoader::checkCallImplicitClose
27  00007FF8E27B770A WebCore::FrameLoader::checkCompleted
28  00007FF8E27B74D3 WebCore::FrameLoader::finishedParsing
29  00007FF8E1D18EF1 WebCore::Document::finishedParsing
30  00007FF8E2391B97 WebCore::HTMLConstructionSite::finishedParsing
31  00007FF8E23CD2B0 WebCore::HTMLTreeBuilder::finished
Comment 1 zalan 2021-10-05 19:15:59 PDT
I can repro this! Will look into it shortly.
Comment 2 zalan 2021-10-08 11:12:00 PDT
Created attachment 440646 [details]
Patch
Comment 3 EWS 2021-10-08 13:56:54 PDT
Committed r283835 (242715@main): <https://commits.webkit.org/242715@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 440646 [details].
Comment 4 Radar WebKit Bug Importer 2021-10-08 13:57:18 PDT
<rdar://problem/84042541>