On 2015-03-21 2:27 PM, Patrick Walton wrote:
One remaining issue is how to deal with jQuery-style animations that are done with setTimeout(). They have to contend with everything else on the DOM/script thread to avoid breaking the HTML/JavaScript event loop semantics. I've brainstormed ideas for doing some sort of fair scheduling for events on the main thread to try to give animations priority wherever possible, but anything like this still has to deal with the run-to-completion for event handlers that hog the CPU. I'm open to ideas here.
What are jQuery-style animations? Do they not use requestAnimationFrame? Will using that instead of setTimeout allow us to provide better guarantees to web developers?
_______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo