- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Jun 2016 15:05:41 +0000
- To: public-css-archive@w3.org
@glazou, yes, it sort of works, except that:
1. when your MQ is long and complicated, that ends up being a lot of
stuff to repeat, which is tedious at best, and a source of bugs when
you make a mistake somewhere. You may get it right on the first pass,
but it is decently likely that you'll make a mistake during
maintenance by forgetting to update the second half.
2. explicit negation works OKish for if/else, but it is even more
tedious when you try to do some if / elseif / else.
3. both branches are ignored if you do
```
@media screen and (unsupported-thing) { }
@media not screen and (unsupported-thing) { }
```
--
GitHub Notification of comment by frivoal
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/112#issuecomment-224618933
using your GitHub account
Received on Wednesday, 8 June 2016 15:05:42 UTC