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.", |