The problem is that the offsets refer to named timeline ranges.
This error gets thrown:
Safari: TypeError: The provided value is non-finite
Firefox: Uncaught TypeError: KeyframeEffect.setKeyframes: 'offset' member of BaseKeyframe is not a finite floating-point value.
When using CSS Animations that uses @keyframes with range information included in the <keyframe-selector> this is no problem for the polyfill, as it has logic to rewrite the offsets to something parseable in place.
The polyfill can’t handle this WAAPI snippet that has
offset
s included in the keyframes.The problem is that the offsets refer to named timeline ranges.
This error gets thrown:
TypeError: The provided value is non-finite
Uncaught TypeError: KeyframeEffect.setKeyframes: 'offset' member of BaseKeyframe is not a finite floating-point value.
When using CSS Animations that uses
@keyframes
with range information included in the<keyframe-selector>
this is no problem for the polyfill, as it has logic to rewrite the offsets to something parseable in place.