[Webkit-unassigned] [Bug 78909] getElement* should return HTMLCollection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 20 13:38:45 PST 2012


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





--- Comment #1 from Pablo Flouret <pablof at motorola.com>  2012-02-20 13:38:44 PST ---
Would it make sense to have HTMLCollection use dynamic node lists and fold the getElement* stuff into the CollectionType management?

I haven't looked in too much detail, but it seems the caching of the nodelists could be moved out of the node into the htmlcollection, leaving the node just having to deal with a few collections.

It looks like a big change though, i guess a first step might be to have HTMLCollection return a dynamic node list for named items, which would be a requirement for this bug anyway (and would fix a bunch of other places that are returning static node lists currently, like bug 9508, which is how i eventually found my way here in the first place :P).

I can probably spend some time on this if it's deemed worthwhile.

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