-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
I'm not sure if I should call this a bug or a feature request, but this recently bit me.
this is simplified code and not production code
.placeholder(@color: #333333) {
&::-webkit-input-placeholder { color: @color; }
}
input {
.placeholder();
}
.placeholder {
background: #ffffff;
}
which will output
input {
background: #ffffff;
}
input::-webkit-input-placeholder {
color: #333333;
}
.placeholder {
background: #ffffff;
}
I'm not sure if this is by design, but I propose stricter name resolution where .name != .name()