W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2018

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

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Apr 2018 14:56:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-380131482-1523372170-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:28 UTC