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

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

Issue 25607005: Fix WHITESPACE issues in the CSS grammar. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
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 5240fc59cc2983abc16d353f3bdebefc7e8309e1..53257508f546270f509d73e3d2ab053ddf0a1867 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
@@ -73,6 +73,18 @@ testFilterAtRule("Rule with arbitrary properties.",
testFilterAtRule("Empty rule, missing closing brace.",
"@-webkit-filter my-filter {",
"@-webkit-filter my-filter { }");
+testFilterAtRule("Empty rule, comment separators",
+ "@-webkit-filter/**/my-filter/**/{ }",
+ "@-webkit-filter my-filter { }");
+testFilterAtRule("Empty rule, comment+space separators",
+ "@-webkit-filter/**/ my-filter/**/ { }",
+ "@-webkit-filter my-filter { }");
+testFilterAtRule("Empty rule, space+comment separators",
+ "@-webkit-filter /**/my-filter /**/{ }",
+ "@-webkit-filter my-filter { }");
+testFilterAtRule("Empty rule, space+comment+space separators",
+ "@-webkit-filter /**/ my-filter /**/ { }",
+ "@-webkit-filter my-filter { }");
heading("Nested filter at-rule tests.");
testNestedRules("Nested rule.",

Powered by Google App Engine
This is Rietveld 408576698