[Bug 24314] [Custom]: enteredView and leftView callbacks are still confusing

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

--- Comment #6 from Ryosuke Niwa <rniwa@webkit.org> ---
(In reply to Dimitri Glazkov from comment #5)
> (In reply to Anne from comment #4)
> > Has anyone documented yet what we call these constructs inside the browser's
> > code? E.g. when you look at the implementation of <img> or <input>, what are
> > Gecko/Blink/WebKit/Presto/Trident's equivalent constructs called?
> 
> They're called attach/detach in Blink/WebKit.

I don't think they're the same concept.  In WebKit at least,
willAttachRenderers and didDetachRenderers are never called on elements that
are display:none, and they are called lazily when renderers are needed.

These callbacks, however, are called immediately as a custom element is
inserted into a document with a browsing context. That's a radically different
concept from creating a renderer.

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

Received on Friday, 17 January 2014 20:11:02 UTC