Re: [csswg-drafts] [css-values-4] How to serialize infinite values? (#3768)

Hm, further details on NaN:

* Actually, I do know what type a NaN is; I can do type calculations at parse time, before I know what the values are. (And that's necessary to be able to do grammar validation of calc() at all.) So I could serialize NaN as an appropriate infinite calc(), if I want.
* on the other hand, maybe I just want to go the other way and invoke "invalid at computed-value time" for NaNs. This would mean no simplification (or confusing function-switching) necessary, but I'm not sure how difficult invoking that machinery is. Need implementor opinions on this.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3768#issuecomment-479686250 using your GitHub account

Received on Wednesday, 3 April 2019 22:48:47 UTC