Index: Source/core/css/CSSGrammar.y |
diff --git a/Source/core/css/CSSGrammar.y b/Source/core/css/CSSGrammar.y |
index e006812e9a4f87ae08cf5467ea0c2b7d34ce4da3..582e1a03655012e099a3014d927d2b67331ad312 100644 |
--- a/Source/core/css/CSSGrammar.y |
+++ b/Source/core/css/CSSGrammar.y |
@@ -728,7 +728,7 @@ media_rule_start: |
before_media_rule MEDIA_SYM maybe_space; |
media: |
- media_rule_start maybe_media_list at_rule_header_end '{' at_rule_body_start maybe_space block_rule_body closing_brace { |
+ media_rule_start maybe_media_list '{' at_rule_header_end at_rule_body_start maybe_space block_rule_body closing_brace { |
$$ = parser->createMediaRule($2, $7); |
} |
; |