[CSS21] New Candidate Recommendation - suggested correction to grammar for 'combinator'=whitespace

I wish to suggest that the Appendix G Grammar be corrected to avoid the difficulties in   interpreting whitespace as a combinator within selectors.

The production for "combinatory" currently reads:

combinator
  : PLUS S*
  | GREATER S*
  | S
  ;

I suggest this needs to be amended to read

combinator
  : PLUS S*
  | GREATER S*
  | S+
  ;

CSS3 seems to agree.

I couldn't possibly say, but for all I know this may possibly have influenced the fault seen in issue #4870 in the current CSS validator - see  http://www.w3.org/Bugs/Public/show_bug.cgi?id=4870 .


Best,

Cecil Ward.

Received on Monday, 23 July 2007 18:32:38 UTC