mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Fix dynamic mixins with nested rules
Dynamic mixins with more than one level of nesting wouldn't work. This is now fixed. Also refactored mixin.definition.eval a little.
This commit is contained in:
13
test/less/mixins-nested.less
Normal file
13
test/less/mixins-nested.less
Normal file
@@ -0,0 +1,13 @@
|
||||
.mix (@a: 10) {
|
||||
.inner {
|
||||
height: @a * 10;
|
||||
|
||||
.innest {
|
||||
width: @a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.class {
|
||||
.mix(30);
|
||||
}
|
||||
Reference in New Issue
Block a user