4 <title>Spaces in @-webkit-region prelude</title>
5 <script src="../../../resources/testharness.js"></script>
6 <script src="../../../resources/testharnessreport.js"></script>
7 <style>@-webkit-region/**/#flow { #id {} }</style>
8 <style>@-webkit-region/**/ #flow { #id {} }</style>
9 <style>@-webkit-region /**/#flow { #id {} }</style>
10 <style>@-webkit-region /**/ #flow { #id {} }</style>
16 assert_equals(document.styleSheets[0].cssRules.length, 1, "Rule valid and in CSSOM.");
17 }, "Comment between @-symbol and flow name");
20 assert_equals(document.styleSheets[1].cssRules.length, 1, "Rule valid and in CSSOM.");
21 }, "Comment + space between @-symbol and flow name");
24 assert_equals(document.styleSheets[2].cssRules.length, 1, "Rule valid and in CSSOM.");
25 }, "Space + comment between @-symbol and flow name");
28 assert_equals(document.styleSheets[3].cssRules.length, 1, "Rule valid and in CSSOM.");
29 }, "Space + comment + space between @-symbol and flow name");