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

Unified Diff: Source/core/css/CSSGrammar.y.in

Issue 23477048: Media query malformed when 'or' is used as a media type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 | « LayoutTests/fast/media/mq-invalid-media-type-expected.html ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGrammar.y.in
diff --git a/Source/core/css/CSSGrammar.y.in b/Source/core/css/CSSGrammar.y.in
index d437fb6d2cb4ff2522e62b038183b6f312daad29..46e88381d3d9330a976e6f4b1439c0033f983127 100644
--- a/Source/core/css/CSSGrammar.y.in
+++ b/Source/core/css/CSSGrammar.y.in
@@ -170,6 +170,7 @@ inline static CSSParserValue makeOperatorValue(int value)
%token MEDIA_ONLY
%token MEDIA_NOT
%token MEDIA_AND
+%token MEDIA_OR
%token SUPPORTS_NOT
%token SUPPORTS_AND
« no previous file with comments | « LayoutTests/fast/media/mq-invalid-media-type-expected.html ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698