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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 20 15:59:31 PST 2012


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





--- Comment #3 from Pablo Flouret <pablof at motorola.com>  2012-02-20 15:59:30 PST ---
What i meant was that the implementations of DynamicNodeList and HTMLCollection look very similar, and perhaps they could both be folded into some common code, or have HTMLCollection be built on top of DynamicNodeList, or something of the sorts.

(In reply to comment #2)
> (In reply to comment #1)
> > 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 don't really get what you mean by this. HTMLCollection can't be a DynamicNodeList sine DynamicNodeList is a NodeList: http://www.w3.org/TR/html5/common-dom-interfaces.html#htmlcollection-0

I was talking about making HTMLCollection::namedItems() return a dynamic node list instead of a static vector of nodes, but i got confused with another bug i was looking at, disregard this.

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