-
Notifications
You must be signed in to change notification settings - Fork 462
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
Hash tokens containing dashes are incorrectly evaluated as colors #1404
Comments
@andrew-skybound thanks for the report. I can confirm this issue exists on the latest master. |
mgreter
added a commit
to mgreter/sass-spec
that referenced
this issue
Aug 24, 2015
mgreter
added a commit
to mgreter/sass-spec
that referenced
this issue
Aug 24, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A hex color code immediately followed by a sequence of one or more dashes followed by a digit is evaluated as an addition or subtraction expression (depending upon the number of dashes). When a color code is followed by one or more dashes and an alpha character, however, the trail is appended to the end of the color code and the entire expression becomes a string. This is different from Ruby SASS, which always recognizes the entire sequence as an unquoted string.
Input:
Ruby SASS:
Libsass:
The text was updated successfully, but these errors were encountered: