center left false positive.

For topics about current BETA or future releases, including feature requests.

center left false positive.

Postby roedygr » Fri May 30, 2008 12:46 am

<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?
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Postby Albert Wiersch » Fri May 30, 2008 1:59 pm

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.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Postby roedygr » Fri May 30, 2008 3:19 pm

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.
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada


Return to CSE BETA Talk

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron