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

> there's nothing media-like about supports queries

Think of non-media part of query as an _extra condition_ instead of a 
part of the media query _itself_.

The `@supports` could also be extended based on the same paradigm. So 
the following:

    @media (width >= 400px) and (pointer: fine) and supports(display: 
flex) {}
    @supports (display: flex) and media((width >= 400px) and (pointer:
 fine)) {}

would be perfectly interchangeable equivalents.

The advantages are that the redundant parens around the main part of 
query are avoided, as well as that the philosophical `@when`-or-`@if` 
question gets then irrelevant.

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

Received on Thursday, 26 May 2016 15:24:52 UTC