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

Re: Media Queries Test Suite Generator

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 21 Nov 2005 11:55:53 +0100
To: "Bert Bos" <bert@w3.org>, "Lachlan Hunt" <lachlan.hunt@lachy.id.au>
Cc: public-css-testsuite@w3.org
Message-ID: <op.s0k7bfo364w2qv@id-c0020.q42.local>

On Mon, 21 Nov 2005 11:50:43 +0100, Bert Bos <bert@w3.org> wrote:
>> http://lachy.id.au/dev/css/tests/css3-mediaqueries/special/generator
>
>> Let me know if you find any bugs.
>
> Nice!
>
> One bug:
>
> The tests include
>
>     ... and (width) {...}
>
> which is fine, but they also include
>
>     ... and (max-width) {...}
>
> The former is defined, it means the same as '(min-width: 1)', but the
> latter is not legal, because 'max-width' isn't a media feature.

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.


> It is OK to include the test, but it can never match any UA. Expressions
> with unknown media features always fail.

We should probably add some tests to that effect, thanks.

Kind regards,

Anne


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 21 November 2005 10:56:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:54 GMT