Welcome to WebmasterWorld Guest from 54.145.209.34

Forum Moderators: open

What are the differences between vendors' requestAnimationFrame's?

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

5+ Year Member



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.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month