-
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
Support additional calculation functions #3504
Comments
The proposal is out for review. Since it involves some complexity with the handling of cases like |
I'm reopening this. When I wrote the specification, I overlooked a case where it could break existing Sass stylesheets. If a user defines a function with the same name as a new calculation function (a common one is While we figure out how to handle this case, I'm going to:
Once we figure out the right way forward, we'll follow our standard compatibility policy for CSS compatibility changes, in which we'll provide deprecation warnings for three months before updating the any breaking change lands. |
#3657 updates the calc functions proposal to provide a deprecation process that will continue to support existing |
This allows calculation syntax to coexist with user-defined Sass functions instead of needing every new calculation function to break all existing Sass functions of the same name. See #3504
This allows calculation syntax to coexist with user-defined Sass functions instead of needing every new calculation function to break all existing Sass functions of the same name. See #3504
Trigonometric calculation functions have landed in Firefox and Safari, and the rest of the calculation functions seem to be live in Safari. We should support these in Sass.
The text was updated successfully, but these errors were encountered: