W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2009

Re: CSS Validator Error

From: James Hopkins <james@idreamincode.co.uk>
Date: Mon, 7 Dec 2009 20:49:26 +0000
Cc: www-validator-css@w3.org
Message-Id: <05044E0B-BEC5-4CE5-A32D-D0A30CFA8009@idreamincode.co.uk>
To: Robert Buchholz <robert@randmstudio.com>
> This will not validate (code from: 14.2.1: http://www.w3.org/TR/2008/REC-CSS2-20080411/colors.html) 
> :
>
> BODY { background: url("banner.jpeg") bottom }
>
> This will:
>
> BODY { background: url("banner.jpeg") center bottom }
>
> It appears that the validator is requiring both keywords/values for  
> the background-position portion of the background property.

I too can verify that this issue occurs. I've also discovered that  
other property orderings don't validate:-

[<'background-image'>||<'background-attachment'>||<'background- 
repeat'>||<'background-color'>]<'background-position'> http://idreamincode.co.uk/tests/validator-css/1.html
<'background-position'> [<'background-color'>(RGB specification)|| 
<'background-image'>] http://idreamincode.co.uk/tests/validator-css/2.html
Received on Monday, 7 December 2009 20:50:07 GMT

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