aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2015-04-09 10:51:23 -0400
committerStefan Monnier2015-04-09 10:51:23 -0400
commit6083965958381b29aa55948670d2b85289b0be6d (patch)
treeb4093ee60f44f2000db9e62a559675e4d0e8e7bc /test
parentc9415ccbf84fce152e0f4b98ac2ed60680272a47 (diff)
downloademacs-6083965958381b29aa55948670d2b85289b0be6d.tar.gz
emacs-6083965958381b29aa55948670d2b85289b0be6d.zip
css-mode.el (css-smie-rules): Fix indentation after complex selectors
Fixes: debbugs:20282 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by inner structure of selectors.
Diffstat (limited to 'test')
-rw-r--r--test/indent/css-mode.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/indent/css-mode.css b/test/indent/css-mode.css
index 564ac16f954..faf91539d84 100644
--- a/test/indent/css-mode.css
+++ b/test/indent/css-mode.css
@@ -8,6 +8,21 @@ article[role="main"] {
8 width: 60%; 8 width: 60%;
9} 9}
10 10
11a, b:hover, c {
12 color: black;
13}
14
15a, b:hover { /* bug:20282 */
16 c {
17 color: black;
18 }
19 color: black;
20}
21
22a.b:c,d.e:f,g[h]:i,j[k]:l,.m.n:o,.p.q:r,.s[t]:u,.v[w]:x { /* bug:20282 */
23 background-color: white;
24}
25
11/* asdfasdf */ 26/* asdfasdf */
12@foo x2 { 27@foo x2 {
13 bla:toto; 28 bla:toto;