Re: [w3ctag/design-reviews] [CSS-Values-4] FYI review of Allow infinity, -infinity and NaN in CSS calc() (Issue #708)

@LeaVerou, @atanassov and myself reviewed this issue during our Hybrid TAG f2f. We still have concerns about the current proposal that are best for the CSS WG to review, thus, we suggest another round of discussions there. In particular, we are concerned that imposing runtime errors through +infinity will break layouts in unpredictable ways. For the purposes of layout, calc expressions can be evaluated during used-value time which in turn can depend on user context. This can result in unpredictable and difficult to evaluate/debug problems. 
Further, given JS has handling of NaN different than +infinity, this proposal will introduce [inconsitency in the overall web platform](https://w3ctag.github.io/design-principles/#consistency). We should try and avoid that.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/708#issuecomment-1075383206
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/708/1075383206@github.com>

Received on Tuesday, 22 March 2022 16:47:23 UTC