mirror of
https://github.com/sass/sass.git
synced 2024-09-21 10:37:22 +00:00
[First-Class Calc] Return calculations from meta.calc-args
This commit is contained in:
parent
a25464f63a
commit
93c13f0323
@ -11,6 +11,9 @@
|
||||
|
||||
* Properly parenthesize the right-hand side of `a / (b * c)`.
|
||||
|
||||
* Return calculations from `meta.calc-args()` as calculations, not unquoted
|
||||
strings.
|
||||
|
||||
* Fix some broken formatting.
|
||||
|
||||
* Remove TODOs about extra simplification.
|
||||
|
@ -637,7 +637,7 @@ meta.calc-args($calc)
|
||||
|
||||
* For each argument `arg` in `$calc`'s arguments:
|
||||
|
||||
* If `arg` is a number, add it to `args`.
|
||||
* If `arg` is a number or a calculation, add it to `args`.
|
||||
|
||||
* Otherwise, [serialize](#serialization) `arg` and add the result to `args` as
|
||||
an unquoted string.
|
||||
|
Loading…
Reference in New Issue
Block a user