[Bug 24866] [Custom]: Consider adding inserted/removed callback

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24866

Scott Miles <sjmiles@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjmiles@chromium.org

--- Comment #1 from Scott Miles <sjmiles@chromium.org> ---
It's definitely appealing to expose DOM core with high fidelity, but we have
some performance realities that concern me.

In particular, calling back into JS from the native side is known to expensive
(at least on some platforms).

The currently spec'd callback is only called when an element's subtree is
attached or detached form the main document, which is a much lower frequency
situation. 

This is less powerful, but it is perhaps a good tradeoff to avoid killing
custom elements with expensive callbacks?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 28 February 2014 19:03:18 UTC