1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
emacs/test/indent/css-mode.css
Stefan Monnier 6083965958 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.
2015-04-09 10:51:23 -04:00

38 lines
405 B
CSS

/* asdfasdf */
.xxx
{
}
article[role="main"] {
width: 60%;
}
a, b:hover, c {
color: black;
}
a, b:hover { /* bug:20282 */
c {
color: black;
}
color: black;
}
a.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 */
background-color: white;
}
/* asdfasdf */
@foo x2 {
bla:toto;
}
.x2
{
foo: bar;
bar: baz;
}
div.x3
{
}