On 1/16/14 7:15 AM, Sergi Mansilla wrote:
I still think that automatically batching the changes that DOM operations cause 
at the end of the event loop

This is already basically done in Gecko, no? Unless you explicitly flush out layout or style, we don't actually update them when the DOM mutates; it happens lazily. In fact, we generally aim to do as little work as possible on DOM mutations, and defer it until it's actually needed.

There are some known exceptions (like image loads starting sync when you change the src, but the web actually depends on that behavior).

Do you have a specific testcase where you believe we're eagerly doing work that could be deferred? I'd be pretty interested in seeing it!

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to