W3C home > Mailing lists > Public > www-style@w3.org > November 2013

Re: [mediaqueries] Intentional that "not" is only usable in front of a media type?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 12 Nov 2013 01:27:13 -0800
Message-ID: <CAAWBYDBKy63a0Sahe5KsLRpN1qoZrUn5ny_c0guGGJ6OGWP+tQ@mail.gmail.com>
To: Rune Lillesveen <rune@opera.com>
Cc: www-style list <www-style@w3.org>
On Tue, Nov 12, 2013 at 1:23 AM, Rune Lillesveen <rune@opera.com> wrote:
> Should be possible to say "only (color)" too, even though that would
> not be necessary for the intention** of introducing "only".
> ** It seems "only" was introduced to make things like "screen and
> (monochrome)", which would match "screen" for HTML4 media attribute
> parsing, not match by writing "only screen and (monochrome)" instead.

Right, "only" is a legacy hack to get around old media=''
implementations having a busted forward-compatibility story.  It
really *does* belong to the media type.

Received on Tuesday, 12 November 2013 09:27:59 UTC

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