Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

What are the differences between vendors' requestAnimationFrame's?

1:25 am on Dec 12, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:July 30, 2009
posts: 130
votes: 0

I'm running XP, so I can't test msRequestAnimationFrame and I have a few questions. Is the callback passed a timestamp like mozRequestAnimationFrame? What is the second parameter ("retVal") used for? Are there other differences from the spec?

Also, I know the spec isn't finalized, but I want to test for it to be future-proof. Should I assume the callback will be passed a timestamp?

Are there any other differences between implementations I should be aware of? I'm not concerned with cancelling requested frames, but anything else could be important.