You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libsass's unit math fails badly when working with numbers that have multiple numerator and denominator units. As a simple example, (1px * 1rad / 1ms) / 1rad should cancel out the two rad units and produce 1px/ms. However, in Libsass it currently produces 0.02646, without any units.
Libsass's unit math fails badly when working with numbers that have multiple numerator and denominator units. As a simple example,
(1px * 1rad / 1ms) / 1rad
should cancel out the tworad
units and produce1px/ms
. However, in Libsass it currently produces0.02646
, without any units.sass/sass-spec#1205 adds more thorough specs for these cases.
This is pretty high priority: unit arithmetic is already confusing for users, and having Libsass totally bail on moderately complex uses doesn't help.
The text was updated successfully, but these errors were encountered: