[Webkit-unassigned] [Bug 62184] ID registration/unregistration for ShadowRoot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 6 22:45:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62184





--- Comment #3 from Roland Steiner <rolandsteiner at chromium.org>  2011-06-06 22:45:14 PST ---
In Summary: 

If an element has an ID it just unconditionally calls treeScope()->registerID() from insertedIntoTree(), and treeScope()->unregisterID() from willRemove().

Nodes that are not in the Document are inserted into a new TreeScope-derived class DocumentAssociated, of which there is exactly 1 instance per Document, owned by the Document.

DocumentAssociated::registerID()/unregisterID() are no-ops.

With this, we can also get rid of all the instances where inDocument() is queried.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list