bramus / scroll-driven-animations-debugger-extension

Browser extension to debug Scroll-Driven Animations
40 stars 1 forks source link

Using `min()`, `max()`, etc. in the range values doesn’t work. #3

Open bramus opened 1 year ago

bramus commented 1 year ago

For now only CSSMathNegate and CSSUnitValue are supported when parsing a range string. This should be expanded to more calc-y things.

E.g. https://kizu.dev/scroll-driven-animations/#table-ofcontents-with-highlighted-current-sections uses min().