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    

Myles C. Maxfield
Reported 2021-09-21 11:01:31 PDT
Provide mechanism for graceful degradation of color palettes
Attachments
Radar WebKit Bug Importer
Comment 1 2021-09-21 11:01:58 PDT
Myles C. Maxfield
Comment 2 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.
Myles C. Maxfield
Comment 3 2021-09-24 00:44:26 PDT
Whoops, disregard that last comment, it's meant for a different bug.
Myles C. Maxfield
Comment 4 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 ]
Myles C. Maxfield
Comment 5 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 ***
Note You need to log in before you can comment on or make changes to this bug.