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

I ask the following question here since the following text is the result of https://github.com/w3c/csswg-drafts/issues/6916#issuecomment-1240684141 above, but please let me know if you prefer that I open a separate one.

  > If syntax errors occur within the font family list, the descriptor must be ignored (will still be in the CSS OM, but will not match any font families).

Can you please clarify what *"the descriptor must be ignored"* means?

For this CSS:

```css
@font-palette-values --palette {
  font-family: serif;
}
```

`CSSFontPaletteValues.fontFamily` serializes to empty string in FF and to the specified value between quotes in Chrome (probably a bug).

I would expect it to serialize as specified.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6916#issuecomment-1510811271 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:03:01 UTC