[csswg-drafts] Should font-variation-settings be a property, a descriptor, or both?

dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== Should font-variation-settings be a property, a descriptor, or both? ==
Fonts Level 4 introduces a [`font-variation-settings` property](https://drafts.csswg.org/css-fonts-4/#font-variation-settings-def) that sets particular variation parameters.  These seem likely to be reasonably specific to particular fonts, although I'm not entirely sure how much.

That they're specific to fonts makes me suspect that it may make more sense for this to be available as a descriptor so that a font-variation-settings doesn't accidentally apply to a fallback font.  This seems like it could become more problematic as system fonts (which are likely to be fallback) become more likely to support OpenType variations.

I wonder whether font-variation-settings should be available as a descriptor in addition to a property (like `font-feature-settings`), or maybe even *instead* of a property.

I got here from w3ctag/design-reviews#183.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1652 using your GitHub account

Received on Thursday, 27 July 2017 13:00:30 UTC