Bug 230566 - Allow feature detection of font color palettes
Summary: Allow feature detection of font color palettes
Status: RESOLVED DUPLICATE of bug 230394
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 230446
  Show dependency treegraph
 
Reported: 2021-09-21 11:01 PDT by Myles C. Maxfield
Modified: 2021-09-24 02:02 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***