aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSimen Heggestøyl2016-01-14 19:24:03 +0100
committerSimen Heggestøyl2016-01-14 19:24:03 +0100
commitdadb841a06aa1ffd6d17c04ef83140dbd1ad7307 (patch)
tree33868efd29567b592826a8fa7b037aa4c6a56b51 /test
parentd5f1db83ecfffbbb52b88b382cf5d480e8a0ef32 (diff)
downloademacs-dadb841a06aa1ffd6d17c04ef83140dbd1ad7307.tar.gz
emacs-dadb841a06aa1ffd6d17c04ef83140dbd1ad7307.zip
Disallow parenthesis in non-pseudo CSS selectors
* lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow parenthesis in selectors except for in the function notation that might appear right after a pseudo-class. * test/indent/scss-mode.scss: Add a test for it.
Diffstat (limited to 'test')
-rw-r--r--test/indent/scss-mode.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/indent/scss-mode.scss b/test/indent/scss-mode.scss
index 7a29929efca..02a4a98a8c5 100644
--- a/test/indent/scss-mode.scss
+++ b/test/indent/scss-mode.scss
@@ -55,3 +55,13 @@ article[role="main"] {
55} 55}
56 56
57.box { @include border-radius(10px); } 57.box { @include border-radius(10px); }
58
59// bug:21230
60$list: (
61 ('a', #000000, #fff)
62 ('b', #000000, #fff)
63 ('c', #000000, #fff)
64 ('d', #000000, #fff)
65 ('e', #000000, #fff)
66 ('f', #000000, #fff)
67);