You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the variable is used as part of the selector (e.g. .item-#{$i} { ... }) this works fine, but it seems that if the variable is given as an argument to a pseudo-class, then libsass only applies the extension on the first iteration (I'm guessing it's trying to optimize, but only checks if variables are in the selector itself, not its arguments).
The text was updated successfully, but these errors were encountered:
Easier to show this one before explaining:
Code
Actual (libsass 3.3.2):
Expected (as given by Ruby Sass):
If the variable is used as part of the selector (e.g.
.item-#{$i} { ... }
) this works fine, but it seems that if the variable is given as an argument to a pseudo-class, then libsass only applies the extension on the first iteration (I'm guessing it's trying to optimize, but only checks if variables are in the selector itself, not its arguments).The text was updated successfully, but these errors were encountered: