Bug 232192 - LFC][IFC] Unexpected content wrap when the containing block width is relative (take 2)
Summary: LFC][IFC] Unexpected content wrap when the containing block width is relative...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-22 18:54 PDT by zalan
Modified: 2021-10-23 22:26 PDT (History)
10 users (show)

See Also:


Attachments
Patch (10.36 KB, patch)
2021-10-22 21:13 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch with dependencies (15.51 KB, patch)
2021-10-22 21:14 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (10.32 KB, patch)
2021-10-23 09:33 PDT, zalan
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (10.43 KB, patch)
2021-10-23 11:27 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?