- From: Bert Bos <bert@w3.org>
- Date: Mon, 21 Nov 2005 11:50:43 +0100
- To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Cc: public-css-testsuite@w3.org, Anne van Kesteren <annevk@opera.com>
On Sunday 20 November 2005 04:29, Lachlan Hunt 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.
It is OK to include the test, but it can never match any UA. Expressions
with unknown media features always fail.
And some feature requests:
The tests don't test the keywords 'not' and 'only, e.g.:
@media not screen {...}
@media not screen and (monochrome) {...}
@media only screen {...]
They also don't test the comma (,):
@media ignore-this, screen {...}
@media screen, print {...}
@media screen and (min-width: 61), screen and (max-width: 59) {...}
Bert
--
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 10:51:18 UTC