[Bug 5586] Comment in selector before > operator - [regression!] - in development snapshot only

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





--- Comment #4 from Yves Lafon <ylafon@w3.org>  2009-02-05 17:37:18 ---
Hum... I see why.

COMMENT has been declared as a special token to be able to detect its presence
in @charset and report it.

In the case of the combinators, it generates a match because of this:

    ( (   <PLUS> { connector = '+' ; }
        | <GREATER> { connector = '>' ; }
        | <TILDE> { connector = '~' ; }
      ) ( <S> )* 
    | ( <S> )+ { connector = ' ' ; }
    )

Doing a/**/ > b will work, as the special token is there before a <S> is
parsed, however in the a /**/ > b case, the special token forces the match
(<S>+) and exist form the combinator matching part.

More in this soon (I hope).


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 5 February 2009 17:37:28 UTC