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

Side by Side Diff: LayoutTests/fast/regions/webkit-region-syntax-space.html

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 unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698