Bug 216742

Summary: [LFC][IFC] InlineFormattingState should not store display lines and runs
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

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>