sass/accepted/calc-constants.changes.md
2023-08-22 21:10:27 +00:00

675 B

Draft 1.1

  • Throw an error when serializing a degenerate number with complex units in a calculation.

  • Clarify that we're checking for degenerate values in "Converting a Number to a Calculation".

  • Use UnquotedStrings to represent unknown calculation constants rather than CalculationInterpolations/CalculationRaws.

  • Don't parenthesize the right-hand side of "+" or "-" CalculationOperations when the right-hand side is a degenerate number with one or more units. Degenerate numbers are serialized to multiplication and division expressions, which always have higher precedence than addition and subtraction.

Draft 1

  • Initial draft.