Skip to content
  • hyatt@apple.com's avatar
    https://bugs.webkit.org/show_bug.cgi?id=32045, make sure escape sequences work with · d140c858
    hyatt@apple.com authored
    all the @-rules we support.  When escape sequences are present, the lexical scanner
    just returns a generic token name: ATKEYWORD.  We have to process the escape sequences
    and then recheck against the rules we support with the final processed name.  If we
    find a match, we mutate the token value to the appropriate rule name token, e.g.,
    NAMESPACE_SYM.
    
    Reviewed by Dan Bernstein.
    
    Added fast/css/namespaces/namespaces-escapes.xml
    
    * css/CSSParser.cpp:
    (WebCore::CSSParser::lex):
    (WebCore::CSSParser::recheckAtKeyword):
    (WebCore::CSSParser::text):
    * css/CSSParser.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d140c858