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

@svgeesus the reason I recommend preserving @fantasai’s `px` and `pt` keywords even if you use `<number>` is to allow us to decide _separarely_ if we want:
* automatic browser determination of `pt` vs `px` (based on `@media` and maybe other factors)
* rescaled `opsz`

… leading to these examples:

```
font-optical-sizing: auto;  /* get font-size in pt or px, use as opsz */
font-optical-sizing: 2;     /* get font-size in pt or px, *2, use as opsz */
font-optical-sizing: px;    /* get font-size in px, use as opsz */
font-optical-sizing: pt;    /* get font-size in pt, use as opsz */
font-optical-sizing: 2 px;  /* get font-size in px, *2, use as opsz */
font-optical-sizing: 2 pt;  /* get font-size in pt, *2, use as opsz */

```


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 23 September 2020 15:49:38 UTC