mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Make less.js ignore nodes in its own path so infinite recursion does not happen. Fixes #413
This commit is contained in:
@@ -106,3 +106,6 @@ h3 + * {
|
||||
background-image: "/a.png";
|
||||
background-position: center center;
|
||||
}
|
||||
.recursion {
|
||||
color: black;
|
||||
}
|
||||
|
||||
@@ -91,3 +91,9 @@ h3 { .margin_between(15px, 5px); }
|
||||
@s: "/";
|
||||
.mixin_def( "@{s}a.png", center center);
|
||||
}
|
||||
.recursion() {
|
||||
color: black;
|
||||
}
|
||||
.recursion {
|
||||
.recursion();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user