- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Feb 2020 11:03:50 +0000
- To: public-css-archive@w3.org
> the logical and comparative operators need to be added to calc expressions Kind of, but they would return a boolean, which probably most math functions (like `calc()`) shouldn't accept as an argument. So "calc expressions" may not be the right term. > `if()` is essentially a handy way of converting boolean-typed calc expressions into non-bools? > Does `if(p)` then only accept bool for p? Yes, that's what I was thinking. > If bool is added, there are a lot of attributes I wonder whether some string operations could be useful too, like checking if an attribute value starts, ends or contains a substring. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4731#issuecomment-582852036 using your GitHub account
Received on Thursday, 6 February 2020 11:03:53 UTC