Index: Source/core/css/CSSGrammar.y.in |
diff --git a/Source/core/css/CSSGrammar.y.in b/Source/core/css/CSSGrammar.y.in |
index 6f375f2e6d33acd194a77e85fba727bad7d65a98..5bf4a90313e55a8bc72951285a3b98eef59ce880 100644 |
--- a/Source/core/css/CSSGrammar.y.in |
+++ b/Source/core/css/CSSGrammar.y.in |
@@ -638,6 +638,9 @@ valid_media_query: |
media_query: |
valid_media_query |
+ | valid_media_query error rule_error_recovery { |
+ $$ = parser->createFloatingNotAllQuery(); |
+ } |
| error rule_error_recovery { |
$$ = parser->createFloatingNotAllQuery(); |
} |