OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
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> | |
11 </head> | |
12 <body> | |
13 <div id="log"></div> | |
14 <script> | |
15 test(function(){ | |
16 assert_equals(document.styleSheets[0].cssRules.length, 1, "Rule vali
d and in CSSOM."); | |
17 }, "Comment between @-symbol and flow name"); | |
18 | |
19 test(function(){ | |
20 assert_equals(document.styleSheets[1].cssRules.length, 1, "Rule vali
d and in CSSOM."); | |
21 }, "Comment + space between @-symbol and flow name"); | |
22 | |
23 test(function(){ | |
24 assert_equals(document.styleSheets[2].cssRules.length, 1, "Rule vali
d and in CSSOM."); | |
25 }, "Space + comment between @-symbol and flow name"); | |
26 | |
27 test(function(){ | |
28 assert_equals(document.styleSheets[3].cssRules.length, 1, "Rule vali
d and in CSSOM."); | |
29 }, "Space + comment + space between @-symbol and flow name"); | |
30 </script> | |
31 </body> | |
32 </html> | |
OLD | NEW |