Re: [csswg-drafts] [css-fonts] font property descriptors for variable fonts

Yeah, @SergeyMalkin’s explanation is totally correct. For the purpose of font selection, a missing descriptor will be used as if its default value was specified. However, once a font has been selected, and it’s time for the browser to apply variation values, a missing descriptor means “don’t clamp.” You’re right that the spec didn’t describe this, and the reason I implemented it this way is because of @svgeesus’s comment about omission of descriptors disabling variations (and that’s unfortunate).

This is almost certainly what authors want (as @clagnut describes) and is easy to implement and spec.

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

Received on Tuesday, 10 April 2018 14:56:16 UTC