- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Oct 2022 12:49:19 +0000
- To: public-css-archive@w3.org
jfkthame has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-fonts] Should `font-palette` be reset by the `font` shorthand? == Currently, [the spec for the `font` shorthand](https://drafts.csswg.org/css-fonts/#font-prop) says that: > All subproperties of the 'font' property are first reset to their initial values, including ... 'font-palette'. However, it appears that neither the WebKit nor Blink implementations actually do this: ``` > document.body.style.fontPalette = "dark" < 'dark' > document.body.style.font = "12px sans-serif" < '12px sans-serif' > window.getComputedStyle(document.body).fontPalette < 'dark' ``` Should the spec be revised to reflect implementation reality here, or should this simply be regarded as a bug in those browsers? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7832 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 5 October 2022 12:49:21 UTC