Page 1 of 1

center left false positive.

Posted: Fri May 30, 2008 12:46 am
by roedygr
<td style="background:url('../image/icon48/goldenfrog.png') transparent no-repeat scroll center left;">

Beta calls it an error.

W3C validator says it is ok.

Could you check out if that is ok?

Posted: Fri May 30, 2008 1:59 pm
by Albert Wiersch
Hello,

It seems like the 'background-position' part of the 'background' property is at question. In your CSS this is "center left".

CSS 2.1 says 'background-position' can be:
[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit

With the relevant part:
[ left | center | right ] || [ top | center | bottom ]

Your CSS should be correct because "||" means one or more of the separated options must occur, in any order.

So it looks like this is a bug in CSE HTML Validator. I've fixed this in v8.9913.

Posted: Fri May 30, 2008 3:19 pm
by roedygr
Albert Wiersch wrote: So it looks like this is a bug in CSE HTML Validator. I've fixed this in v8.9913.
It is working properly now. Thanks. Now I can get a clean check of the entire website.