Bug 230724

Summary: [LFC][IFC] InlineLevelBox only needs a handful of style properties
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, 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 none

Description zalan 2021-09-23 15:18:28 PDT
ssia
Comment 1 zalan 2021-09-23 15:21:09 PDT
Created attachment 439098 [details]
Patch
Comment 2 zalan 2021-09-23 19:58:17 PDT
Created attachment 439118 [details]
Patch
Comment 3 Antti Koivisto 2021-09-24 06:07:40 PDT
Comment on attachment 439118 [details]
Patch

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

> Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h:133
> +    struct Style {
> +        const FontMetrics& primaryFontMetrics;
> +        const Length& lineHeight;
> +        InlineLayoutUnit primaryFontSize { 0 };
> +        VerticalAlignment verticalAlignment { };
> +    };
> +    Style m_style;

Nice
Comment 4 EWS 2021-09-24 07:39:11 PDT
Committed r283042 (242102@main): <https://commits.webkit.org/242102@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 439118 [details].
Comment 5 Radar WebKit Bug Importer 2021-09-24 07:40:21 PDT
<rdar://problem/83495963>