Bug 224509

Summary: `<meta name="theme-color" content="...">` should also support CSS `currentcolor`
Product: WebKit Reporter: Devin Rousso <hi>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dev, hi, karlcow, qazipoor, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=224389
https://bugs.webkit.org/show_bug.cgi?id=234011
https://bugs.webkit.org/show_bug.cgi?id=281598
Bug Depends on: 220944    
Bug Blocks:    

Devin Rousso
Reported 2021-04-13 14:27:22 PDT
According to <https://html.spec.whatwg.org/multipage/semantics.html#meta-theme-color>, we need to parse `content` as a CSS `<color>` value <https://html.spec.whatwg.org/multipage/infrastructure.html#parsed-as-a-css-color-value>, which explicitly mentions `currentcolor`.
Attachments
Devin Rousso
Comment 1 2021-04-13 14:27:52 PDT
Roman Czerkies
Comment 2 2023-05-13 11:52:49 PDT
`<meta name="theme-color" content="...">` should also support CSS `hwb()`, `lch()`, and `oklch()` color functions (https://drafts.csswg.org/css-color/#typedef-color).
Note You need to log in before you can comment on or make changes to this bug.