Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(723)

Unified Diff: Source/core/css/parser/MediaQueryTokenizer.h

Issue 217423005: Get Media Query parser to handle parens, brackets and braces blocks correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added more tests Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/parser/MediaQueryToken.h ('k') | Source/core/css/parser/MediaQueryTokenizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/MediaQueryTokenizer.h
diff --git a/Source/core/css/parser/MediaQueryTokenizer.h b/Source/core/css/parser/MediaQueryTokenizer.h
index b31c0cbcbc65ba1d8ed288a799eee401e13f2255..6ac048663203c3678f8930d18e095449e00e7fe9 100644
--- a/Source/core/css/parser/MediaQueryTokenizer.h
+++ b/Source/core/css/parser/MediaQueryTokenizer.h
@@ -51,6 +51,10 @@ private:
MediaQueryToken whiteSpace(UChar);
MediaQueryToken leftParenthesis(UChar);
MediaQueryToken rightParenthesis(UChar);
+ MediaQueryToken leftBracket(UChar);
+ MediaQueryToken rightBracket(UChar);
+ MediaQueryToken leftBrace(UChar);
+ MediaQueryToken rightBrace(UChar);
MediaQueryToken plusOrFullStop(UChar);
MediaQueryToken comma(UChar);
MediaQueryToken hyphenMinus(UChar);
« no previous file with comments | « Source/core/css/parser/MediaQueryToken.h ('k') | Source/core/css/parser/MediaQueryTokenizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698