Re: [csswg-drafts] [css-values] Make top-level NaN be invalid at computed value time instead of ∞ (#7067)

Being able to detect NaNs seems useful indeed, but I think this should be addressed more generally with conditionals (https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-625545276), e.g.

```css
width: if(isNaN(0px / 100%); 100px; 200px);
```

but also

```css
width: if(100% < 50px; 100px; 200px);
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 20 April 2022 17:27:27 UTC