W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2005

Re: Media Queries Test Suite Generator

From: Bert Bos <bert@w3.org>
Date: Mon, 21 Nov 2005 13:36:34 +0100
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "Lachlan Hunt" <lachlan.hunt@lachy.id.au>, public-css-testsuite@w3.org
Message-Id: <200511211336.35111.bert@w3.org>

On Monday 21 November 2005 11:55, Anne van Kesteren wrote:

> I would like to see that clarified that in the draft then. (I made
> the test.) The syntax seems ambigious at best:
>   <http://www.w3.org/TR/css3-mediaqueries/#syntax>
> It seems to define 'max-width' as a media feature quite clearly.

Section 6 says that
1) media-features can be used without a value,
2) the media features are 'width', 'height'... 'grid',
3) 'width' accepts min-/max- prefixes.

From that I conclude that 'max-width' is a media feature with a prefix 
and not a media feature, and thus must be used *with* a value.

That makes sense, because it is unclear what an expression such as 
screen and (max-width)' would mean.

Assuming that the non-terminal "media_feature" in section 5 is meant to 
list the same media features as section 6, it seems the spec indeed 
needs some improvement. I'll raise it as an issue in the CSS WG.

  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Monday, 21 November 2005 12:38:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:15 UTC