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

Re: [css3-mediaqueries] example not matching spec change

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 2 Apr 2008 20:44:52 -0700
To: www-style@w3.org
Message-ID: <20080403034452.GA22875@ridley.dbaron.org>

On Wednesday 2008-04-02 20:28 -0700, L. David Baron wrote:
> In http://dev.w3.org/csswg/css3-mediaqueries/#syntax there is an
> example that doesn't match the normative text preceding it:
> # If one media query in a comma-separated list is ignored, the other
> # media queries in the list are also ignored.
> #
> # Example XV.
> # <link rel="stylesheet" media="screen and (max-weight: 3kg) and
> # (color), (color)" href="example.css" />
> # 
> # In this example, the first media query is rejected due to an unknown
> # media feature and unknown value, but the second media query is
> # evaluated as if the first had not been specified.
> The example is unchanged from the last working draft at
> http://www.w3.org/TR/css3-mediaqueries/#syntax , but the normative
> text has changed to the opposite.  If this change was intentional,
> it seems like the example should change as well.

That said, I'm opposed to this change because it's incompatible not
only with existing implementations of media queries, but because
it's incompatible with existing pre-mediaqueries behavior.  The
following test:


yields an aqua background in every browser I tested (Firefox trunk,
WinIE 7, WebKit trunk, Opera 9.26, Konqueror), whereas the spec
change in question seems to mandate that it have a yellow


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 3 April 2008 03:45:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC