-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEM Modifiers With Number Prefixes #738
Comments
Specs added sass/sass-spec#186 |
Thanks! 👍 |
Not sure to understand, does this closed issue actually means that
I'm actually using grunt-sass (https://github.com/sindresorhus/grunt-sass) and it fails on every modifiers selectors ( |
@pierremanceaux grunt sass is still using an older version of Libsass. This is fixed in Libsass 3.1.0. |
@xzyfer thanks for you quick answer :) |
Grunt-sass uses node-sass. You'll have to wait for node-sass 2.0.0 to go
|
Great, got it, thanks a lot for you time xzyfer. |
If a Sass 3.3 style BEM modifier starts with a number, it will fail to compile in libsass with the error
invalid property name
.Tested against libsass 3.0.2 on SassMeister. Ruby Sass 3.4.9 compiles this without error.
Note: It's just modifier (
--
) that fails, BEM elements (__
) work fine.For example:
Should compile to
This example will compile as expected in libsass:
The text was updated successfully, but these errors were encountered: