- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Feb 2024 16:30:04 +0000
- To: public-css-archive@w3.org
I thought that negative zero is always tokenized and parsed as positive zero and that negative zero can only be produced by calculations. So serializing to `-0` wouldn't actually work because it wouldn't round trip. I've actually been using `calc(-1 * 0)` for tooling: - `min(1% / -infinity, 0%)` is converted to `calc(-1 * 0%)` - `max(1% / -infinity, 0%)` is converted to `0%` The context is a bit different for me as the purpose is to calculate what is possible in dev tooling without altering how a browser would parse these. -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9750#issuecomment-1969370921 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 February 2024 16:30:05 UTC