css3-background: grammar issue

Hi,
In this example:

background: /10em

It is parsable according to [CSS21 section 4] but not according to the 
grammar in appendix G
<<
declaration
   : property ':' S* expr prio?
   ;
expr
   : term [ operator? term ]*
   ;
operator
   : '/' S* | ',' S*
   ;
>>

also, what is the status of

background: / black;

Is it invalid CSS2 at the aprsing level, or invalid CSS3 at the data 
validation level? That can't be decided as there is no CSS version 
indicator.

There are two possible paths for solving this:
1/ disallowing bckground to tart with a <bg-size> (there is already a rule 
forbidding <bg-position> after a <bg-size>, so it's in the same range).

2/ outlining the grammar change to appendix G in the CSS3 Background and 
Borders document (as in other CSS3 specs when such things occur), but it 
doesn't solve my issue on how to report the error in the CSS validator...

Cheers,

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

         ~~Yves

Received on Saturday, 9 January 2010 08:11:54 UTC