W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-fonts] Proposal to extend CSS font-optical-sizing (#4430)

From: Mark via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Sep 2020 19:53:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-693630479-1600285993-sysbot+gh@w3.org>
Lengths for `font-optical-sizing` are guaranteed to confuse authors and they will think they have to use pt or px values when what they actually want is `auto` or a unitless ratio. See what happened with `line-height`. Most websites use lengths even though they should use unitless values. The same will happen with `font-optical-sizing` if it supports lengths. Of course, with `line-height` lengths had to be supported because there was no other way to get a specific line height independent of font size for the cases where you really did want that. But for optical sizes you can use `font-feature-settings`.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 September 2020 19:53:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC