W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2008

Re: CSS3: border-radius set to 0 classified as bug

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 25 Mar 2008 17:19:55 -0400 (EDT)
To: Norbert Wenzel <n_wenzel@gmx.net>
Cc: www-validator-css@w3.org
Message-ID: <Pine.LNX.4.64.0803251718550.28774@ubzre.j3.bet>

On Sat, 22 Mar 2008, Norbert Wenzel wrote:

>
> Hi,
>
> I was quickly testing a layout[0] and tried to validate it. The CSS 
> Validation found 12 bugs [1], which is mostly correct, since 11 of them are 
> vendor specific styles, namely -moz and -webkit border-radius.
>
> In line 95 of my stylesheet I wrote
> 	border-top-left-radius: 0;
> in order to reset a previously set border radius.
> The validator classifies this line as a bug, saying "0 is not a 
> border-top-left-radius value :  0"
>
> The W3C working draft says the following: "If either length is zero, the 
> corner is square, not rounded." [2]
>
> So as far as I understand "0" is a valid value for all radius properties. 
> Therefore I'd see this as a bug in the validator.

Indeed it is a bug, already fixed in the dev instance of the validator at
http://qa-dev.w3.org:8001/

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Tuesday, 25 March 2008 21:20:25 GMT

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