[Webkit-unassigned] [Bug 77925] Introduces Element::youngestShadowRoot() and Element::oldestShadowRoot()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 6 19:49:24 PST 2012


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


Dominic Cooney <dominicc at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dglazkov at chromium.org,
                   |                            |dominicc at chromium.org,
                   |                            |morrita at google.com




--- Comment #1 from Dominic Cooney <dominicc at chromium.org>  2012-02-06 19:49:24 PST ---
I think shadow roots should be a doubly linked list. new ShadowRoot() pushes on the front of the list. Tree flattening iterator uses the back pointer to get from the last child of a SR to the next sibling of the <shadow> element that output it.

Do we need oldestShadowRoot? Could callers just walk the list of roots themselves. I feel like this is builtInShadowRoot with a different name.

-- 
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