-
https://bugs.webkit.org/show_bug.cgi?id=32072hyatt@apple.com authored
pass more CSS test suite stuff. Make the grammar stop enforcing the ordering of @namespace vs. @variables vs. @import. Just let the parser handle that instead. This simplifies the grammar and makes error handling deal with more cases correctly. Reviewed by Darin Adler. Added fast/css/namespaces/namespaces-invalid-at-rules.xml * css/CSSGrammar.y: * css/CSSParser.cpp: (WebCore::CSSParser::CSSParser): (WebCore::CSSParser::parseRule): (WebCore::CSSParser::createCharsetRule): (WebCore::CSSParser::createImportRule): (WebCore::CSSParser::createMediaRule): (WebCore::CSSParser::createKeyframesRule): (WebCore::CSSParser::createStyleRule): (WebCore::CSSParser::createFontFaceRule): (WebCore::CSSParser::addNamespace): (WebCore::CSSParser::createVariablesRule): * css/CSSParser.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3c3db0d7