flackr / scroll-timeline

A polyfill of ScrollTimeline.
Apache License 2.0
891 stars 84 forks source link

Handle case in simplify calculation where the root is a CSSMathProduct with one child #201

Closed johannesodland closed 5 months ago

johannesodland commented 6 months ago

Depends on #200

Handle case in simplify calculation where the root has been simplified to a CSSMathProduct with one child.

If that child could be expressed in the canonical unit, it would have been simplified further, however if the child has a unit such as percent that can't be resolved further, it will not be simplified.

johannesodland commented 5 months ago

Closing, as this will be fixed by #223