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

difference in implementation of inspect() between libsass and sass #1280

Closed
Reasonable-Solutions opened this issue Jun 16, 2015 · 2 comments
Closed

Comments

@Reasonable-Solutions
Copy link

with libsass, type-of(inspect(white)) returns color but with sass it returns string. I am guessing string is the desired result.

see this https://gist.github.com/CHedgren/048b98d1655ea6835e4c

// ----
// libsass (v3.2.5)
// ----

div:after {
content: type-of(inspect(white));
}

outputs:

div:after {
content: color;
}

whereas I expected

div:after {
content: string;
}

@chriseppstein
Copy link
Contributor

inspect should always return a string.

@mgreter
Copy link
Contributor

mgreter commented Jun 23, 2015

Duplicate of #1281

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

No branches or pull requests

3 participants