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, 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
Bug Depends on: 220944    
Bug Blocks:    

Description Devin Rousso 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`.
Comment 1 Devin Rousso 2021-04-13 14:27:52 PDT
<rdar://problem/74814749>
Comment 2 Roman Czerkies 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).