Re: [mediaqueries] @media not (unsupported-media-feature) v.s. @media not (unsupported + syntax)

Another option that came up in today’s call is tri-state logic:

Intermediate terms of a media query, in addition to evaluating to either 
true or false, could evaluate to "maybe" with the following rules:

* <general-enclosed> evaluates to maybe
* `not maybe` evaluates to maybe
* `maybe and X` evaluates to maybe
* `maybe or X` evaluates to X
* <media-query> evaluating to maybe is the same as evaluating to false.

The point of all this is that for Y that evaluates to true and Z that 
has evaluates to true, me might want `Y and Z` to evaluate to true.

-- 
Simon Sapin

Received on Wednesday, 22 April 2015 16:46:20 UTC