Open
Description
A few interfaces define a fontFamily
attribute:
- CSSFontFeatureValuesRule, 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."
- CSSFontPaletteValuesRule, 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 #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 #3776 maybe @tabatkins and @emilio also care about this.