On Wed, May 6, 2015 at 6:45 AM, Anne van Kesteren <ann...@annevk.nl> wrote:
> Open issues are kept track of here: > > https://wiki.whatwg.org/wiki/Custom_Elements > > This has come up before, but it came up again at the Extensible Web > Summit so raising hopefully for the last time. > > The DOM has insert/remove primitives for nodes. Custom Elements uses > "insertion into a document" and "removal from a document" which are > quite a bit different and higher level. Why should we have different > primitives here? > This is https://www.w3.org/Bugs/Public/show_bug.cgi?id=24866. The way I remember it, the argument went like this: the most common use case for this callback is to react to element becoming part of the main document (the rough approximation of a nebulous concept "am I useful on the screen?"), and making these callbacks be invoked in other cases may just be noise for devs. :DG<