- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Nov 2022 09:56:54 +0000
- To: public-css-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-fonts-4] Is the fontFamily attribute parsed as CSS or not? == A few interfaces define a `fontFamily` attribute: 1. [CSSFontFeatureValuesRule](https://drafts.csswg.org/css-fonts-4/#cssfontfeaturevaluesrule-dfn), which defines a read-write attribute and says: "The list of one or more font families for which a given set of feature values is defined." 2. [CSSFontPaletteValuesRule](https://drafts.csswg.org/css-fonts-4/#om-fontpalettevalues), which defines a _readonly_ attribute (which makes the following text useless, I think): "The fontFamily and basePalette interfaces are parsed according to the appropriate CSS property syntax." In (1), it is not stated that we're invoking the CSS parser, so it's not clear how to handle "the list". In (2), it is stated, but then it doesn't actually matter since the attribute is readonly. In any case, we should probably avoid invoking the CSS parser per the consensus-ish seen in https://github.com/w3c/csswg-drafts/issues/3776. If possible, we should just avoid the problem by making `fontFamily` readonly in all cases. @drott said to CC the following on this issue: @litherum @jfkthame @svgeesus, but given https://github.com/w3c/csswg-drafts/issues/3776 maybe @tabatkins and @emilio also care about this. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8154 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 09:56:55 UTC