Re: [csswg-drafts] [css-fonts-4] Is the fontFamily attribute parsed as CSS or not? (#8154)

These attributes may contain a list of font families, not just a single family name; and therefore we need to know how that list is represented even if we're not having to parse it in a setter. This is different from the case of the FontFace constructor in #3776, as that deals with just a single family name.

So I think the statement that

> The fontFamily and basePalette interfaces are parsed according to the appropriate CSS property syntax

serves to tell a *reader* of the attribute how to interpret the string that it gets, although maybe this could be expressed more clearly.

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


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

Received on Wednesday, 30 November 2022 12:04:03 UTC