Bug 224509
Summary: | `<meta name="theme-color" content="...">` should also support CSS `currentcolor` | ||
---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> |
Component: | New Bugs | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Devin Rousso
<rdar://problem/74814749>
Roman Czerkies
`<meta name="theme-color" content="...">` should also support CSS `hwb()`, `lch()`, and `oklch()` color functions (https://drafts.csswg.org/css-color/#typedef-color).