ISSUE-2044: Consider improving the SVG DOM interfaces for attribute access
svg-dom-enh
Consider improving the SVG DOM interfaces for attribute access
- State:
- RAISED
- Product:
- SVG 2
- Raised by:
- Cameron McCormack
- Opened on:
- 2008-08-28
- Description:
- It'd be nice to be able to do things like:
rectElt.x = 20;
rather than having to do:
rectElt.x.baseVal.value = 20;
when assigning to simple attributes. This would be easy, with a [PutForwards] Web IDL annotation on the IDL attribute. You could also have 'rectElt.x' treated as a Number by giving the SVGAnimatedLength ES host object a custom [[DefaultValue]] internal method or by making the ES bindings put a 'valueOf' function property on the SVGAnimatedLength prototype.
- Related Actions Items:
- ACTION-2622 on Cameron McCormack to Add these dom suggestions to a new svg 2.0 spec - due 2009-06-19, open
- Related emails:
- Re: Minutes, July 15 2009 SVG WG telcon (from codedread@gmail.com on 2009-07-15)
- Re: Canvas and Interactivity (from robert@ocallahan.org on 2009-07-15)
- Minutes, July 15 2009 SVG WG telcon (from cam@mcc.id.au on 2009-07-15)
- Re: Canvas and Interactivity (from cam@mcc.id.au on 2009-07-15)
- Re: Canvas and Interactivity (from robert@ocallahan.org on 2009-07-15)
- Re: Canvas and Interactivity (from cam@mcc.id.au on 2009-07-15)
- Minutes, Raleigh F2F 2009 day 5 (from cam@mcc.id.au on 2009-06-13)
- Agenda, June 03 2009 SVG WG telcon (from ed@opera.com on 2009-06-02)
- Agenda May 27 2009 SVG WG telcon (from ed@opera.com on 2009-05-26)
- ISSUE-2044 (svg-dom-enh): Consider improving the SVG DOM interfaces for attribute access [SVG Core 2.0] (from sysbot+tracker@w3.org on 2008-08-28)
Related notes:
No additional notes.
Display change log