Re: [csswg-drafts] [css-fonts-4] `font-family` descriptor in `@font-palette-values` ambiguous in number of font-family entries (#6916)

@cdoublev  `serif` is a generic font name and thus causes a syntax error, which means the UA should ignore this descriptor - which in turns means, treat the `@font-palette-values` at-rule as if `font-family` was not specified. So it would not be applied to any font. I filed https://bugs.chromium.org/p/chromium/issues/detail?id=1433586 for Chrome, as we do accept `serif`, which is wrong [according to the edited spec text](https://drafts.csswg.org/css-fonts-4/#font-family-2-desc:~:text=rules%20that%20include%20generic%20fonts%20in%20the%20list%20of%20font%20families%20are%20syntax%20errors).


-- 
GitHub Notification of comment by drott
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6916#issuecomment-1510842619 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 17 April 2023 07:28:20 UTC