[Bug 1072] CSS3: Error in parsing selectors with comments

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1072


bert@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from bert@w3.org  2006-04-25 09:52 -------
This was fixed in the latest draft of Selectors
(http://www.w3.org/TR/2005/WD-css3-selectors-20051215). The text (both in
sections 4 and 8.1) has always said that the "combinator" of a descendant
selector must contain white space. The grammar incorrectly allowed empty
combinators in the versions until Nov 2001.

The example "a/*test*/b" is not a valid selector in CSS3, because two
identifiers cannot follow each other without white space or some punctuation
between them. There is no difference between CSS level 3 and lower levels in
that respect.

Received on Tuesday, 25 April 2006 09:52:14 UTC