- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Nov 2023 14:22:49 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-4] Nit: comparing `-0` and `+0` in `min()` and `max()` == `1 / max(-1 * 0, 1 * 0)` results to `-infinity` in Chrome/FF. Similarly, `1 / min(1 * 0, -1 * 0)` results to `infinity`. They do not consider `-0 < 0` to be true, like in the JS comparison, and returns the first argument. But in JS, `1 / Math.max(-1 * 0, 1 * 0)` results to `Infinity` and `1 / Math.min(1 * 0, -1 * 0)` results to `-Infinity`. There is no related WPT test. Can you please tell me what is the expected result? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9631 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 23 November 2023 14:22:51 UTC