Bug 236866

Summary: [LFC][IFC] Introduce LineBoxBuilder::collectFallbackFonts
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
[fast-cq]Patch none

Description zalan 2022-02-18 15:46:36 PST
This is in preparation for supporting ideographic baseline
Comment 1 zalan 2022-02-18 15:51:54 PST
Created attachment 452591 [details]
Patch
Comment 2 Antti Koivisto 2022-02-18 21:50:07 PST
Comment on attachment 452591 [details]
Patch

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

> Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:58
> +    static FallbackFontList fallbackFontsForText(const StringView&, const RenderStyle&, IncludeHyphen);

const StringView& is bit pointless, it is better used as a value type (it is just pointer and a length)
Comment 3 zalan 2022-02-18 21:54:07 PST
(In reply to Antti Koivisto from comment #2)
> Comment on attachment 452591 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=452591&action=review
> 
> > Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:58
> > +    static FallbackFontList fallbackFontsForText(const StringView&, const RenderStyle&, IncludeHyphen);
> 
> const StringView& is bit pointless, it is better used as a value type (it is
> just pointer and a length)
Oh you are right. it's muscle memory.
Comment 4 zalan 2022-02-18 21:59:41 PST
Created attachment 452625 [details]
[fast-cq]Patch
Comment 5 EWS 2022-02-19 05:31:38 PST
Committed r290204 (247532@main): <https://commits.webkit.org/247532@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 452625 [details].
Comment 6 Radar WebKit Bug Importer 2022-02-19 05:32:18 PST
<rdar://problem/89186091>