Re: [csswg-drafts] [css-values] Iverson bracket functions (#4731)

Thanks for the link.

Are keywords in general dangerous? Could `width: if(p, auto, inherit)` also cause problems?

I'm fine with it being purely numeric but it would be nice if you could write, say, `visibility: if(P, visible, hidden);` especially for having things happen based on aria- attributes to make it easier to keep js and css in sync

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

Received on Tuesday, 4 February 2020 21:36:18 UTC