mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
* lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS identifiers on the form !foo. (scss-bang-ids): New defconst holding SCSS identifiers on the form !foo. (css--font-lock-keywords): Highlight the new SCSS bang identifiers in `font-lock-builtin-face'. * test/indent/css-mode.css: Add bang rule test case. * test/indent/scss-mode.css: Add test cases for the introduced bang rules.
45 lines
560 B
CSS
45 lines
560 B
CSS
/* asdfasdf */
|
|
|
|
.xxx
|
|
{
|
|
}
|
|
|
|
article[role="main"] {
|
|
width: 60%;
|
|
}
|
|
|
|
a, b:hover, c {
|
|
color: black !important;
|
|
}
|
|
|
|
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;
|
|
bar1: url("http://toto/titi");
|
|
bar2: url('http://toto/titi');
|
|
bar3: url(http://toto/titi);
|
|
}
|
|
|
|
div.x3
|
|
{
|
|
}
|
|
|
|
article:hover
|
|
{
|
|
color: black;
|
|
}
|