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

Re: [csswg-drafts] [css-fonts-3] Is the exclusion of calc() from @font-feature-values intentional?

From: csnardi via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Jan 2018 23:08:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-362101887-1517440126-sysbot+gh@w3.org>
@svgeesus I think the difference is that in Fonts 3, `NUMBER` was used which referred to https://www.w3.org/TR/CSS21/syndata.html#tokenization, whereas in Fonts 4 `<number>` was used which referred to https://drafts.csswg.org/css-values-3/#number-value. Since `font-feature-settings` only accepts integer values, I believe that's why @MatsPalmgren suggested using `<integer>` for Fonts 3, since `<number>` and `<integer>` imply support for calc whereas `NUMBER` does not.

-- 
GitHub Notification of comment by csnardi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1127#issuecomment-362101887 using your GitHub account
Received on Wednesday, 31 January 2018 23:08:51 UTC

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