- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 04 Dec 2023 12:10:30 +0000
- To: public-css-archive@w3.org
No, that would be bad. Let's say `1em = 16px`, then `round(2.3em)` should produce the same as `round(36.8px)`. But `round(2.3em, 1em)` is `32px`, while `round(36.8px)` is `37px`. Making it unit-dependent is also not clear for `round(2.3em + 2.3px)`. It could work by saying that step defaults to one canonical unit, but in `round(2.3em)` authors may get surprised it`s 1px instead of 1em, so better require it. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9668#issuecomment-1838507389 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 4 December 2023 12:10:32 UTC