Chromium Code Reviews

Unified Diff: LayoutTests/css3/filters/custom-with-at-rule-syntax/script-tests/parsing-at-rule-valid.js

Issue 14620012: Improved parse error handling for CSSMQ. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@query-selector-performance
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/css3/filters/custom-with-at-rule-syntax/script-tests/parsing-at-rule-valid.js
diff --git a/LayoutTests/css3/filters/custom-with-at-rule-syntax/script-tests/parsing-at-rule-valid.js b/LayoutTests/css3/filters/custom-with-at-rule-syntax/script-tests/parsing-at-rule-valid.js
index a02138a1b044048f30f07a8446c02ae0ae2d7802..5240fc59cc2983abc16d353f3bdebefc7e8309e1 100644
--- a/LayoutTests/css3/filters/custom-with-at-rule-syntax/script-tests/parsing-at-rule-valid.js
+++ b/LayoutTests/css3/filters/custom-with-at-rule-syntax/script-tests/parsing-at-rule-valid.js
@@ -70,6 +70,9 @@ testFilterAtRule("Rule with arbitrary properties.",
"@-webkit-filter my-filter { width: 100px; height: 100px; }",
"@-webkit-filter my-filter { width: 100px; height: 100px; }",
{width: "100px", height: "100px"});
+testFilterAtRule("Empty rule, missing closing brace.",
+ "@-webkit-filter my-filter {",
+ "@-webkit-filter my-filter { }");
heading("Nested filter at-rule tests.");
testNestedRules("Nested rule.",

Powered by Google App Engine