Bug 230566

Summary: Allow feature detection of font color palettes
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 230446    

Description Myles C. Maxfield 2021-09-21 11:01:31 PDT
Provide mechanism for graceful degradation of color palettes
Comment 1 Radar WebKit Bug Importer 2021-09-21 11:01:58 PDT
<rdar://problem/83359700>
Comment 2 Myles C. Maxfield 2021-09-24 00:43:54 PDT
It should do the right thing, because no element can have a font family of "". I should write a test to do this. This should be a part of https://github.com/web-platform-tests/wpt/pull/30910.
Comment 3 Myles C. Maxfield 2021-09-24 00:44:26 PDT
Whoops, disregard that last comment, it's meant for a different bug.
Comment 4 Myles C. Maxfield 2021-09-24 01:39:45 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 5 Myles C. Maxfield 2021-09-24 02:02:55 PDT
Now that I think about it, people can feature-detect the font-palette property. So I should just use that.

*** This bug has been marked as a duplicate of bug 230394 ***