Bug 230448

Summary: Handle CSSOM style mutation of font-palette-values
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: clopez, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, koivisto, macpherson, menard, mmaxfield, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 230446    
Attachments:
Description Flags
Patch
none
WIP
none
Patch ews-feeder: commit-queue-

Description Myles C. Maxfield 2021-09-18 14:14:07 PDT
... as well as handling entire rules being deleted/added.
Comment 1 Myles C. Maxfield 2021-09-20 23:18:28 PDT
https://github.com/w3c/csswg-drafts/issues/6645
Comment 2 Radar WebKit Bug Importer 2021-09-21 01:09:10 PDT
<rdar://problem/83343481>
Comment 3 Myles C. Maxfield 2021-09-23 00:14:39 PDT
CSSSegmentedFontFace::fontRanges()'s cache doesn't handle the palettes
Comment 4 Myles C. Maxfield 2021-09-23 00:20:03 PDT
For some reason a stale value is being used in CSSFontAccessor.
Comment 5 Myles C. Maxfield 2021-09-23 00:23:35 PDT
Whoops, scratch that last comment.
Comment 7 Myles C. Maxfield 2021-09-23 01:01:59 PDT
Created attachment 439018 [details]
Patch

Working on tests at https://github.com/litherum/wpt/commit/c9abc7278d6acdfbc3f5655653508cffd3f60b19
Comment 8 EWS Watchlist 2021-09-23 01:03:08 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 9 Myles C. Maxfield 2021-09-23 20:06:57 PDT
Created attachment 439119 [details]
WIP
Comment 10 Myles C. Maxfield 2021-09-23 20:18:37 PDT
WPT PR for tests at https://github.com/web-platform-tests/wpt/pull/30939
Comment 11 Myles C. Maxfield 2021-09-23 20:51:51 PDT
Created attachment 439120 [details]
Patch
Comment 12 Myles C. Maxfield 2021-09-24 01:39:21 PDT
https://drafts.csswg.org/css-fonts-4/#font-face-src-parsing

<font-technology> = [features(<font-feature-technology>) | variations
| color(<color-font-technology>) | palettes
| incremental ]
Comment 13 Myles C. Maxfield 2021-09-24 01:40:14 PDT
Whoops, disregard that last comment, it's meant for a different bug.
Comment 14 EWS 2021-09-24 01:48:55 PDT
Committed r283031 (242091@main): <https://commits.webkit.org/242091@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 439120 [details].