W3C home > Mailing lists > Public > www-style@w3.org > April 2015

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

From: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 22 Apr 2015 18:45:50 +0200
Message-ID: <5537D03E.6090905@exyr.org>
To: Florian Rivoal <florian@rivoal.net>, "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:53 UTC