Skip to content
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

Multiplication with units behaves strangely #951

Closed
benesch opened this issue Mar 16, 2015 · 2 comments
Closed

Multiplication with units behaves strangely #951

benesch opened this issue Mar 16, 2015 · 2 comments

Comments

@benesch
Copy link
Contributor

benesch commented Mar 16, 2015

In the latest libsass, this fails

$ratio: (5em / 15px);

.out {
    padding: $ratio  * 30px;
}

with test.scss:4: 10em/px*px is not a valid CSS value. Works in older versions (roughly pre-3.1.0, but still investigating) and Ruby Sass. Curiously, this is still fine:

.out {
    padding: (5em / 15px)  * 30px;
}

May be related to #948, but seemed to warrant its own issue.

@benesch
Copy link
Contributor Author

benesch commented Mar 16, 2015

Whoop, looks like this is fixed in master. Sorry for the noise.

@benesch benesch closed this as completed Mar 16, 2015
@benesch
Copy link
Contributor Author

benesch commented Mar 16, 2015

For posterity, looks to have been fixed by #797.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant