ForkAwesome / Fork-Awesome

DEPRECATED. A fork of the iconic font and CSS toolkit
https://forkaweso.me
1.32k stars 144 forks source link

animation: steps doesn't have a position #404

Closed zeroby0 closed 2 years ago

zeroby0 commented 2 years ago

https://github.com/ForkAwesome/Fork-Awesome/blob/a99579ae3e735ee70e51ed62dfcee3172b5b2db7/css/fork-awesome.css#L105-L108

https://github.com/ForkAwesome/Fork-Awesome/blob/a99579ae3e735ee70e51ed62dfcee3172b5b2db7/scss/_animated.scss#L9-L12

https://github.com/ForkAwesome/Fork-Awesome/blob/a99579ae3e735ee70e51ed62dfcee3172b5b2db7/less/animated.less#L9-L12

steps needs a position: steps(<number_of_steps>, <position>).

While this probably still works in browsers, it breaks parsers.

refs:

zeroby0 commented 2 years ago

I'm closing this because the spec actually defines it as optional: https://www.w3.org/TR/css-easing-1/#funcdef-step-easing-function-steps