- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Fri, 24 Mar 2023 11:10:21 +0000
- To: public-css-archive@w3.org
I came back to this issue after a while and I am not entirely sure of your intention, because of this comment: > `-0` looks like it's valid CSS It is valid CSS. I assume you do not want to make it invalid, but to remove its sign in *convert a string to number*, right? Basically: ```diff 2. An integer part: zero or more digits. If there is at least one digit, let i be the number formed by interpreting the digits as a base-10 integer; otherwise, let i be the number 0. + If i is the number 0, set s to 1. ``` So `calc(-1 / -0)` would result to `-infinity`? Alternatively, `-0` could be a special case in [serialize a CSS component value](https://drafts.csswg.org/cssom-1/#serialize-a-css-component-value), but maybe I am missing the reasons why CSS never recognized the sign of 0. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7472#issuecomment-1482632968 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 24 March 2023 11:10:23 UTC