- From: Brad Kemper via GitHub <sysbot+gh@w3.org>
- Date: Fri, 06 Jul 2018 03:45:36 +0000
- To: public-css-archive@w3.org
My last two suggestions weren’t serious. But I liked `:is()` more than `:if()`. Sorry, but `:if()` just feels wrong to me. I think for Web authors, knowing a little (or more) JavaScript is more common than not. And you don’t need to know a lot of it to see `if(foo) { }` as script instead of CSS. `:if()` makes me expect there should also be an `:else()`. Or maybe a `:then()` The older proposal of `@if` and `@else` for media queries seemed more natural to me. -- GitHub Notification of comment by bradkemper Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-402917178 using your GitHub account
Received on Friday, 6 July 2018 03:45:39 UTC