[Webkit-unassigned] [Bug 69083] Several CSS lexer rules don't match CSS 2.1 spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 10:03:48 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=69083





--- Comment #20 from Darin Adler <darin at apple.com>  2011-11-30 10:03:47 PST ---
(In reply to comment #19)
> However, in our tokenizer.flex:
> {ident}                 {yyTok = IDENT; return yyTok;}
> <nthchild>{nth}         {yyTok = NTH; return yyTok;}
> 
> Thus, identifier got higher priority than nth in <nthchild> mode, so 'n' is reported as IDENT not as NTH.
> 
> I think we should swap these rules.

If this is a bug you should be able to demonstrate it with a test case; you could then try it in other browsers to see if they match the spec.

Swapping the rules seems like a fine way to fix the bug if it works.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list