Bug 230447

Summary: Push font-palette-values data into CSSFontSelector
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, koivisto, macpherson, menard, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 230337, 230544, 230546    
Bug Blocks: 230446, 230449    
Attachments:
Description Flags
Patch
none
Patch koivisto: review+, ews-feeder: commit-queue-

Description Myles C. Maxfield 2021-09-18 14:13:10 PDT
... And move the values of the color-override / base-palette descriptors into types that can be accessed from platform/
Comment 1 Myles C. Maxfield 2021-09-18 23:17:59 PDT
Created attachment 438580 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2021-09-21 01:15:45 PDT
<rdar://problem/83343615>
Comment 3 Myles C. Maxfield 2021-09-21 02:01:52 PDT
Created attachment 438795 [details]
Patch
Comment 4 Antti Koivisto 2021-09-21 02:05:59 PDT
Comment on attachment 438795 [details]
Patch

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

> Source/WebCore/css/CSSFontSelector.h:148
> +struct CSSFontSelector::PaletteKey {

Couldn't this just be std::pair<AtomString, AtomString>?

> Source/WebCore/css/CSSFontSelector.h:178
> +struct CSSFontSelector::PaletteKeyHash {

And avoid all this.
Comment 5 Myles C. Maxfield 2021-09-21 02:21:57 PDT
Committed r282807 (241939@main): <https://commits.webkit.org/241939@main>
Comment 6 WebKit Commit Bot 2021-09-21 03:57:06 PDT
Re-opened since this is blocked by bug 230544
Comment 7 Myles C. Maxfield 2021-09-21 12:04:53 PDT
Reopening.
Comment 8 Myles C. Maxfield 2021-09-21 13:17:56 PDT
Committed r282838 (241969@main): <https://commits.webkit.org/241969@main>