Open rjwright opened 9 years ago
The following keyframes raise an uncaught TypeError.
[{transform: 'translate(50em)'}, {transform: 'translate(200px) rotate(40deg)'}]
This is fine:
[{transform: 'translate(50px)'}, {transform: 'translate(200px) rotate(40deg)'}]
As is this:
[{transform: 'translate(50em)'}, {transform: 'translate(200px)'}]
Will fix the TypeError ASAP, and replace it with treating non-px lengths as 0px (this it not a total fix, just a better failure).
https://github.com/web-animations/web-animations-next/pull/178 stops the error and ignores non-px lengths instead
The following keyframes raise an uncaught TypeError.
This is fine:
As is this:
Will fix the TypeError ASAP, and replace it with treating non-px lengths as 0px (this it not a total fix, just a better failure).