- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Oct 2021 23:09:59 +0000
- To: public-css-archive@w3.org
There was discussion in the last minutes about unit canonicalization, but it wasn't actually captured in a resolution (or it was intended to be captured by the first resolution, that's not sufficiently obvious). So, Agenda+ to decide that math functions serialize their specified values in the canonical unit when the numeric values are compatible with their canonical unit. (So `calc(1em)` stays as it is, but `calc(1in)` serializes as `calc(96px)`. * Firefox already does this * Chrome does this *sometimes*, when the value employs non-trivial math. `calc(1in + 1px)` serializes as `calc(97px)`, but `calc(1in + 1in)` serializes as `calc(2in)`, and `calc(1in)` serializes as itself. * The version of WebKit we had available to test (WebKit GTK) already does this; we couldn't test Safari (I'm asking Twitter and will update if I get an answer quickly.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4399#issuecomment-949067282 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 October 2021 23:10:01 UTC