ISSUE-2323: Consider aligning SVG*List interfaces with other arraylike types
array-notation-for-list
Consider aligning SVG*List interfaces with other arraylike types
- State:
- RAISED
- Product:
- SVG 2
- Raised by:
- Erik Dahlström
- Opened on:
- 2010-05-07
- Description:
- The SVG*List interfaces in SVG 1.1 are a bit different from e.g NodeList, which uses ".length" instead of ".numberOfItems", and which allows array notation for accessing items in the list, "mylist[3]" instead of "mylist.item(3)" and "mylist.getItem(3)" (for all SVG*List except SVGElementInstanceList).
We should consider changing the IDL definitions to align with the NodeList / Array syntax in ecmascript.
Note: the SVGElementInstanceList is in line with the definition of NodeList, which also has the item() method. The other list types are all using getItem. - Related Actions Items:
ACTION-2975 on Cameron McCormack to Spec out .length and array indexing for svg list types - due 2011-03-07, closed- Related emails:
- minutes, SVG WG Auckland F2F, day 2 (from ed@opera.com on 2011-03-01)
- Minutes, 10 may 2010 SVG telcon (from chris@w3.org on 2010-05-10)
- SVG WG Telecon Meeting Notes 5/10/2010 (from patd@microsoft.com on 2010-05-10)
- Agenda SVG WG telcon May 10, 2010 (from ed@opera.com on 2010-05-10)
- ISSUE-2323 (array-notation-for-list): Consider aligning SVG*List interfaces with other arraylike types [SVG 2.0] (from sysbot+tracker@w3.org on 2010-05-07)
Related notes:
No additional notes.
Display change log