[Bug 21986] Element.attributes needs to have a named getter

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21986

Anne <annevk@annevk.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arv@chromium.org

--- Comment #2 from Anne <annevk@annevk.nl> ---
Okay, so what interface should we introduce here?

http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1780488922 is the original
solution.

I called it AttrList as it's clearly not a Map in the JavaScript sense. I
removed the methods that did not seem needed, but maybe they are?

interface AttrList {
  getter Attr (DOMString name);
  getter Attr item(unsigned long index);
  unsigned long length;
}

I guess because of the named getter adding ArrayClass would be problematic.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 9 July 2013 15:54:30 UTC