WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
313379
ASSERTION FAILED: partialRun.length < trailingInlineTextItem.length()
https://bugs.webkit.org/show_bug.cgi?id=313379
Summary
ASSERTION FAILED: partialRun.length < trailingInlineTextItem.length()
Fujii Hironori
Reported
2026-04-26 20:41:54 PDT
While browsing some web sites with GTK Release build with assertion enabled of
312060@main
, I saw assertion failures.
https://hatena.blog/
https://weather.yahoo.co.jp/weather/jp/13/4410.html
ASSERTION FAILED: partialRun.length < trailingInlineTextItem.length() ../../../Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp(1840) : LineBuilder::Result WebCore::Layout::LineBuilder::processLineBreakingResult(LineCandidate &, const InlineItemRange &, const InlineContentBreaker::Result &) 1 0x7f6f0380c510 WebCore::Layout::LineBuilder::processLineBreakingResult(WebCore::Layout::LineCandidate&, WebCore::Layout::InlineItemRange const&, WebCore::Layout::InlineContentBreaker::Result const&) 2 0x7f6f0380ba20 WebCore::Layout::LineBuilder::tryPlacingCandidateInlineContentOnLine(WebCore::Layout::InlineItemRange const&, WebCore::Layout::LineCandidate&) 3 0x7f6f0380b349 WebCore::Layout::LineBuilder::handleInlineContent(WebCore::Layout::InlineItemRange const&, WebCore::Layout::LineCandidate&) 4 0x7f6f03805496 WebCore::Layout::LineBuilder::placeInlineAndFloatContent(WebCore::Layout::InlineItemRange const&) 5 0x7f6f03802e8e WebCore::Layout::LineBuilder::layoutInlineContent(WebCore::Layout::LineInput const&, std::optional<WebCore::Layout::PreviousLine> const&, bool) 6 0x7f6f0380efaa WebCore::Layout::IntrinsicWidthHandler::computedIntrinsicWidthForConstraint(WebCore::Layout::IntrinsicWidthMode, WebCore::Layout::AbstractLineBuilder&, WebCore::Layout::IntrinsicWidthHandler::MayCacheLayoutResult) 7 0x7f6f0380e810 WebCore::Layout::IntrinsicWidthHandler::minimumContentSize() 8 0x7f6f037df8de WebCore::Layout::InlineFormattingContext::minimumMaximumContentSize(WebCore::Layout::InlineDamage*) 9 0x7f6f0386d7ef WebCore::LayoutIntegration::LineLayout::computeIntrinsicWidthConstraints() 10 0x7f6f042af84d WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingInlinePath(WebCore::LayoutUnit&, WebCore::LayoutUnit&) 11 0x7f6f04291a38 WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 12 0x7f6f0429186a WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 13 0x7f6f04288694 WebCore::RenderBlock::computePreferredLogicalWidths() 14 0x7f6f042b7534 WebCore::RenderBox::minPreferredLogicalWidth() const 15 0x7f6f042db11b WebCore::RenderDeprecatedFlexibleBox::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 16 0x7f6f042db524 WebCore::RenderDeprecatedFlexibleBox::computePreferredLogicalWidths() 17 0x7f6f042b7534 WebCore::RenderBox::minPreferredLogicalWidth() const 18 0x7f6f042895bf WebCore::RenderBlock::computeChildIntrinsicLogicalWidths(WebCore::RenderBox&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 19 0x7f6f04289211 WebCore::RenderBlock::computeChildPreferredLogicalWidths(WebCore::RenderBox&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 20 0x7f6f0428796c WebCore::RenderBlock::computeBlockPreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 21 0x7f6f04291827 WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 22 0x7f6f04288694 WebCore::RenderBlock::computePreferredLogicalWidths() 23 0x7f6f042b7534 WebCore::RenderBox::minPreferredLogicalWidth() const 24 0x7f6f042895bf WebCore::RenderBlock::computeChildIntrinsicLogicalWidths(WebCore::RenderBox&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 25 0x7f6f04289211 WebCore::RenderBlock::computeChildPreferredLogicalWidths(WebCore::RenderBox&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 26 0x7f6f0428796c WebCore::RenderBlock::computeBlockPreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 27 0x7f6f04291827 WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const 28 0x7f6f04288694 WebCore::RenderBlock::computePreferredLogicalWidths() 29 0x7f6f042b7534 WebCore::RenderBox::minPreferredLogicalWidth() const 30 0x7f6f04201970 WebCore::GridTrackSizingAlgorithmStrategy::minContentContributionForGridItem(WebCore::RenderBox&, WebCore::RenderGridLayoutState&) const 31 0x7f6f041feebd WebCore::GridTrackSizingAlgorithmStrategy::minContributionForGridItem(WebCore::RenderBox&, WebCore::RenderGridLayoutState&) const
Attachments
Test reduction
(174 bytes, text/html)
2026-04-27 07:53 PDT
,
alan
no flags
Details
[fast-cq]Patch
(6.98 KB, patch)
2026-04-27 08:46 PDT
,
alan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2026-04-27 07:53:16 PDT
Created
attachment 479334
[details]
Test reduction
alan
Comment 2
2026-04-27 08:46:30 PDT
Created
attachment 479336
[details]
[fast-cq]Patch
EWS
Comment 3
2026-04-27 13:03:45 PDT
Committed
312130@main
(daecd76b2488): <
https://commits.webkit.org/312130@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 479336
[details]
.
Radar WebKit Bug Importer
Comment 4
2026-04-27 13:04:12 PDT
<
rdar://problem/175701009
>
alan
Comment 5
2026-05-07 11:50:51 PDT
***
Bug 312845
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug