W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2005

RE: Bugs in the validator with quoted keywords and invalid values

From: <kravvitz@dynamicsitesolutions.com>
Date: Wed, 13 Jul 2005 17:54:04 -0700
Message-ID: <20050714005404.12537.qmail@webmail09.mesa1.secureserver.net>
To: rouel@essi.fr, www-validator-css@w3.org

CSS 2.1 is only a Working Draft; it has not yet reached full
recommendation status.

The CSS Validator has not been modified to be able to validate
stylesheets as CSS 2.1 yet.

If you know Java, you could help make the necessary modifications to the
validator.

> -------- Original Message --------
> Subject: Bugs in the validator with quoted keywords and invalid values
> From: rouel@essi.fr
> Date: Tue, July 12, 2005 4:31 am
> To: www-validator-css@w3.org
> 
> Hi,
> 
> While doing some tests, I found that some simple "illegal values" examples
> from http://www.w3.org/TR/CSS21/syndata.html#parsing-errors and
> http://www.w3.org/TR/REC-CSS1#css1-conformance seem to be badly validated
> by the validator.
> 
> First of them is:
> img { background: "red" } /* keywords cannot be quoted */
> The validator does not throw any error nor warning, and produces this
> "validated" CSS:
> img  {
>     background : ;
> }
> wich is actually invalid.
> The correct produced style sheet should be:
> img { }
> 
> The second is quite similar:
> img { float: left here }  /* "here" is not a value of 'float' */
> No errors nor warnings are produced, and the "valid" CSS produced is:
> img  {
>     float : left;
> }
> instead of
> img { } according to the specifications.
> 
> An intersting point is that:
> img { float: here left }
> throws a validation error.
> 
> Thanks,
> 
> Jean-Guilhem Rouel
Received on Thursday, 14 July 2005 00:55:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:16 GMT