2nd time in as many weeks I've seen an animations choking on eval. Stop using the main thread for gfx! Use this:https://developers.google.com/web/updates/2014/05/Web-Animations-element.animate-is-now-in-Chrome-36 …
-
-
Replying to @ATornblad
: the polyfill does a great job. Better yet, feature test and only animate where you can do it smoothly.
1 reply 0 retweets 0 likes -
Replying to @slightlylate
: seriously, no animations are better than janky animations. Alternative: CSS Animations if that's your bag.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @ATornblad
I'm confused, if CSS Animations are OK, what animations are you saying are bad?
1 reply 0 retweets 0 likes -
I believe he is referring to animations that don't run on the GPU. Only a few CSS properties anim on GPU
1 reply 0 retweets 0 likes -
Replying to @mark_struck
: just as concerned with animations that use requestAnimationFrame and jank when main thread busy. /cc
@matthewcp@ATornblad2 replies 0 retweets 0 likes -
why is it that every other DOM API is a footgun?
2 replies 0 retweets 0 likes
: legacy, largely. Sad times. We're deprecating what we can and intervening aggressively.
/cc @mark_struck @ATornblad
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.