W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-values] Allow division of same types in calc()

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 04 Jun 2018 19:43:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-394474713-1528141387-sysbot+gh@w3.org>
Agenda+ to ask about whether I should keep negative-zero tracking within an expression.  (The distinction will disappear when it exits a top-level calculation, at the same time as NaNs disappear.)

Specifically, should `calc(1 / calc(1/(-1/0)))` produce positive infinity or negative infinity?  If negative-zero is tracked, the the inner calc produces negative zero, and the outer calc then produces negative infinity. If it's not, then the inner calc just produces zero, and the outer calc produces positive infinity.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/545#issuecomment-394474713 using your GitHub account
Received on Monday, 4 June 2018 19:43:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:31 UTC