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

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

Issue 130823003: Merge 164913 "Revert "Explicit space required around NOT/ONLY/AN..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1700/
Patch Set: Created 6 years, 11 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/media-query-only-not-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGrammar.y
===================================================================
--- Source/core/css/CSSGrammar.y (revision 164913)
+++ Source/core/css/CSSGrammar.y (working copy)
@@ -659,7 +659,7 @@
$$ = parser->createFloatingMediaQueryExpList();
$$->append(parser->sinkFloatingMediaQueryExp($1));
}
- | media_query_exp_list space MEDIA_AND space media_query_exp {
+ | media_query_exp_list maybe_space MEDIA_AND maybe_space media_query_exp {
$$ = $1;
$$->append(parser->sinkFloatingMediaQueryExp($5));
}
@@ -669,7 +669,7 @@
maybe_space {
$$ = parser->createFloatingMediaQueryExpList();
}
- | space MEDIA_AND space media_query_exp_list maybe_space {
+ | maybe_space MEDIA_AND maybe_space media_query_exp_list maybe_space {
$$ = $4;
}
;
@@ -678,10 +678,10 @@
/*empty*/ {
$$ = MediaQuery::None;
}
- | MEDIA_ONLY space {
+ | MEDIA_ONLY maybe_space {
$$ = MediaQuery::Only;
}
- | MEDIA_NOT space {
+ | MEDIA_NOT maybe_space {
$$ = MediaQuery::Not;
}
;
« no previous file with comments | « LayoutTests/fast/media/media-query-only-not-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698