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

CSS validator bug, border property, double occurance of a value for border-width

From: Christian Seiler <chris_se@gmx.net>
Date: 25 Jul 2003 11:24:30 -0400
Message-ID: <3F07179D.5080308@gmx.net>
To: www-validator-css@w3.org




Hello,

I've discoverd a bug in the CSS validator. I have the following
declaration:

a {
   border: thin dashed 1pt white;
}

This is invalid because of the occurance of thin and 1pt in the property
value, which are both values for border-width.

The CSS validator does not recognize the error, though:

http://jigsaw.w3.org/css-validator/validator?text=a+%7B%0D%0A++border%3A+thin+dashed+1pt+white%3B%0D%0A%7D&warning=1&profile=css2&usermedium=all

It declares the stylesheet as valid and says that the parsed stylesheet
looks like this:

     * a {
           o border : thin dashed ;
       }

Regards,
Christian
Received on Friday, 25 July 2003 11:24:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:50 UTC