Eliminate extra traversal of the tree when determining ability to lazy-attach a Node.
Created attachment 63933 [details] Patch
Since neither SVG nor Input shadow DOM aren't using this path (they use home-baked attachement), the check for whether we're inside of the shadow tree isn't needed. This gives a small, but consistent win in Dromaeo's DOM Modification. If you're really mean, you can make me write layout tests to prove that this check isn't meaningful inside of the shadow DOM.
Adding more peeps.
Comment on attachment 63933 [details] Patch Lipstick on a pig. Eager attach needs to die. Can you explain better why this check is not needed in your ChangeLog?
Sorry, meant to CC adele, not beth. Adele is the queen of the world of shadow DOMs, iirc.
(In reply to comment #4) > (From update of attachment 63933 [details]) > Lipstick on a pig. Eager attach needs to die. > > Can you explain better why this check is not needed in your ChangeLog? Will do.
Committed r65508: <http://trac.webkit.org/changeset/65508>
I bungled landing this and had to land the actual change in http://trac.webkit.org/changeset/65517. Sorry :-\