Bug 216742 - [LFC][IFC] InlineFormattingState should not store display lines and runs
Summary: [LFC][IFC] InlineFormattingState should not store display lines and runs
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: 2020-09-19 20:45 PDT by zalan
Modified: 2020-09-21 12:00 PDT (History)
11 users (show)

See Also:


Attachments
Patch (56.33 KB, patch)
2020-09-19 20:55 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (56.38 KB, patch)
2020-09-19 21:06 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (55.74 KB, patch)
2020-09-20 06:41 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 2020-09-19 20:45:31 PDT
FormattingStates should hold layout data only.
Comment 1 zalan 2020-09-19 20:55:10 PDT
Created attachment 409223 [details]
Patch
Comment 2 zalan 2020-09-19 21:06:58 PDT
Created attachment 409224 [details]
Patch
Comment 3 zalan 2020-09-20 06:41:00 PDT
Created attachment 409233 [details]
Patch
Comment 4 Antti Koivisto 2020-09-20 06:47:02 PDT
Comment on attachment 409233 [details]
Patch

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

> Source/WebCore/ChangeLog:15
> +        In this patch,
> +        1. Display related structures are completely moved out from Layout namespace
> +          - InlineFormattingContext does not generate display structures.
> +          - InlineFormattingState only stores layout data.
> +          - Layout tree verification works on layout geometry.
> +          - Layout structures do not embed Display types.
> +        2. LayoutIntegration creates and maintains the required Display structures for painting and hittesting.
> +        3. Display::Run does not use Layout types (InlineLayoutRect, InlineLayoutUnit).

Nice!
Comment 5 EWS 2020-09-20 08:01:24 PDT
Committed r267325: <https://trac.webkit.org/changeset/267325>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 409233 [details].
Comment 6 Radar WebKit Bug Importer 2020-09-21 12:00:38 PDT
<rdar://problem/69318285>