-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Properly handle alpha units #1525
Comments
This is handled correctly by Dart Sass, but it looks like it's still marked as TODO for LibSass. @xzyfer Is there an issue tracking this on the LibSass side yet? |
The spec at http://dev.w3.org/csswg/css-color/#typedef-alpha-value says that percentages(0-100%) and number(0-1) are allowed for alpha argument. |
@lawki These functions are intended to allow unitless numbers between 0 and 1 as well. |
Got it, thanks. |
Closing this out because LibSass is now deprecated and we aren't expecting to add any additional features to it. |
Currently
rgba()
andhsla()
completely ignore units on the$alpha
argument. They should interpret percentages per spec and fail for any other unit.The text was updated successfully, but these errors were encountered: