- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Apr 2022 16:31:23 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-values] Make top-level NaN be invalid at computed value time instead of ∞`, and agreed to the following: * `RESOLVED: NaN escaping calc() tree is coerced to zero` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: [css-values] Make top-level NaN be invalid at computed value time instead of ∞<br> <fantasai> github: [css-values] Make top-level NaN be invalid at computed value time instead of ∞<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/7067<br> <fantasai> TabAtkins: last week we discussed behavior of censoring NaNs when they escape calc()<br> <fantasai> TabAtkins: previously specced as infinity<br> <fantasai> TabAtkins: discussion seemed to conclude that censoring to zero would be acceptable<br> <fantasai> TabAtkins: Since then, comments in issue supporting that interpretation, for a variety of good reasons<br> <fantasai> TabAtkins: This works well enough for my purposes, so suggest to resolve that NaN resolves to zero when escaping a calc() tree<br> <fantasai> iank_: can you elaborate more?<br> <fantasai> iank_: Inside a calc() tree, if you've got something relatively nested that has 1/0 or something that will be a NaN<br> <fantasai> iank_: is that where it is coerced to zero?<br> <fantasai> iank_: or will it propagate up<br> <fantasai> TabAtkins: it propagates up, infecting most of the tree following IEEE rules<br> <fantasai> TabAtkins: almost the same as JS also<br> <fantasai> TabAtkins: as soon as you escape the top-level function, properties don't know how to deal, so turn it into zero<br> <fantasai> iank_: ok, thanks<br> <TabAtkins> s/1/0/<br> <tantek> sounds reasonable<br> <fantasai> RESOLVED: NaN escaping calc() tree is coerced to zero<br> <lea> +1<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 April 2022 16:31:24 UTC