Re: [csswg-drafts] [mediaqueries][css-conditional] else

On 05/13/2016 10:49 PM, Tab Atkins Jr. wrote:
>
> Maybe instead, we just explicitly create an |@if| block, which can 
take |media()| and |supports()| conditions (like what we
> have for |@import| statements). |@media|/|@supports| would then just
 be special-case versions that let you write slightly
> shorter blocks when you only need one or the other type. Then 
|@else| (and |@else-if|) can be blocks that have to follow an
> |@if| or equivalent.

Combinable queries seem pretty useful. The current W3C style sheet is 
doing a conditional against both selectors and @media, 
which is involving a fair bit of code duplication atm...


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

Received on Tuesday, 24 May 2016 22:33:15 UTC