mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 16:41:45 -08:00
* lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of brackets in presence of pseudo-selectors. (Bug#21328)
43 lines
460 B
CSS
43 lines
460 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; */ foo2: bar2;
|
|
bar: baz;
|
|
}
|
|
|
|
div.x3
|
|
{
|
|
}
|
|
|
|
article:hover
|
|
{
|
|
color: black;
|
|
}
|