-
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
An undelimited sequence of digits and letters is treated as a list instead of a single number #1405
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
Main use cases are passing now and will be in 3.3! |
xzyfer
added a commit
to xzyfer/sass-spec
that referenced
this issue
Sep 4, 2015
This PR activates specs for sass/libsass#1405
xzyfer
added a commit
to xzyfer/sass-spec
that referenced
this issue
Sep 4, 2015
This PR activates specs for sass/libsass#1405
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A number with a unit identifier that contains number itself should be parsed as a single number. For example, the number
100top1
should have the value100
and unittop1
. Even though there are currently no CSS units which have numbers in them, the CSS grammar defines a unit identifier as an{ident}
. In general, it seems that SASS is not strict about this since sequences like1-2
parse as an arithmetic expression and not the value1
having the unit-1
.Nevertheless, Ruby SASS treats undelimited digit-letter sequences as a single number. Libsass treats them as lists of separate numbers.
Input:
Ruby SASS:
Libsass:
The text was updated successfully, but these errors were encountered: