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

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

Issue 16209003: Unprefix the @viewport rule of CSS Device Adaptation spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/bindings/v8/custom/V8CSSRuleCustom.cpp ('k') | Source/core/css/CSSParser.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 14289bba7df293f9f152c6af4da43af1e00f0d45..4441c2a481e138f00907599ed32c3e45c07f8f24 100644
--- a/Source/core/css/CSSGrammar.y.in
+++ b/Source/core/css/CSSGrammar.y.in
@@ -124,6 +124,7 @@ static inline bool isCSSTokenAString(int yytype)
%token CHARSET_SYM
%token NAMESPACE_SYM
%token VARFUNCTION
+%token VIEWPORT_RULE_SYM
%token INTERNAL_DECLS_SYM
%token INTERNAL_RULE_SYM
%token INTERNAL_SELECTOR_SYM
@@ -132,7 +133,6 @@ static inline bool isCSSTokenAString(int yytype)
%token WEBKIT_KEYFRAMES_SYM
%token WEBKIT_MEDIAQUERY_SYM
%token WEBKIT_REGION_RULE_SYM
-%token WEBKIT_VIEWPORT_RULE_SYM
%token WEBKIT_SUPPORTS_CONDITION_SYM
%token WEBKIT_FILTER_RULE_SYM
%token <marginBox> TOPLEFTCORNER_SYM
@@ -1023,12 +1023,12 @@ before_viewport_rule:
;
viewport:
- before_viewport_rule WEBKIT_VIEWPORT_RULE_SYM at_rule_header_end_maybe_space
+ before_viewport_rule VIEWPORT_RULE_SYM at_rule_header_end_maybe_space
'{' at_rule_body_start maybe_space_before_declaration declaration_list closing_brace {
$$ = parser->createViewportRule();
parser->markViewportRuleBodyEnd();
}
- | before_viewport_rule WEBKIT_VIEWPORT_RULE_SYM at_rule_recovery {
+ | before_viewport_rule VIEWPORT_RULE_SYM at_rule_recovery {
$$ = 0;
parser->endRuleBody(true);
parser->markViewportRuleBodyEnd();
« no previous file with comments | « Source/bindings/v8/custom/V8CSSRuleCustom.cpp ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698