Bug 232192

Summary: LFC][IFC] Unexpected content wrap when the containing block width is relative (take 2)
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, bfulgham, cdumez, cmarcelo, darin, ews-watchlist, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch with dependencies
none
Patch
ews-feeder: commit-queue-
Patch none

Description zalan 2021-10-22 18:54:45 PDT
make https://trac.webkit.org/changeset/279678/webkit a bit more generic to cover more cases
Comment 1 zalan 2021-10-22 21:13:29 PDT
Created attachment 442249 [details]
Patch
Comment 2 zalan 2021-10-22 21:14:18 PDT
Created attachment 442250 [details]
Patch with dependencies
Comment 3 zalan 2021-10-23 09:33:15 PDT
Created attachment 442265 [details]
Patch
Comment 4 zalan 2021-10-23 11:27:28 PDT
Created attachment 442268 [details]
Patch
Comment 5 EWS 2021-10-23 14:05:35 PDT
Committed r284747 (243456@main): <https://commits.webkit.org/243456@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442268 [details].
Comment 6 Radar WebKit Bug Importer 2021-10-23 14:06:19 PDT
<rdar://problem/84582532>
Comment 7 Darin Adler 2021-10-23 22:26:46 PDT
Comment on attachment 442249 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=442249&action=review

> Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:717
> +    availableWidthForContent += LayoutUnit::epsilon();

Is this a full solution or only a partial workaround? Always exactly one epsilon, never accumulates twice?