mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
support @counter-style. Fixes #2204
This commit is contained in:
@@ -1290,6 +1290,10 @@ var Parser = function Parser(context, imports, fileInfo) {
|
||||
hasBlock = true;
|
||||
break;
|
||||
*/
|
||||
case "@counter-style":
|
||||
hasIdentifier = true;
|
||||
hasBlock = true;
|
||||
break;
|
||||
case "@charset":
|
||||
hasIdentifier = true;
|
||||
hasBlock = false;
|
||||
|
||||
@@ -142,3 +142,8 @@ body ^^ .shadow {
|
||||
#issue2066 {
|
||||
background: url('/images/icon-team.svg') 0 0 / contain;
|
||||
}
|
||||
@counter-style triangle {
|
||||
system: cyclic;
|
||||
symbols: ‣;
|
||||
suffix: " ";
|
||||
}
|
||||
|
||||
@@ -144,3 +144,8 @@ body ^^ .shadow {
|
||||
#issue2066 {
|
||||
background: url('/images/icon-team.svg') 0 0 / contain;
|
||||
}
|
||||
@counter-style triangle {
|
||||
system: cyclic;
|
||||
symbols: ‣;
|
||||
suffix: " ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user