ISSUE-2192: Consider allowing script to implement certain objects
script-implemented-objects
Consider allowing script to implement certain objects
- State:
- OPEN
- Product:
- SVG 2
- Raised by:
- Cameron McCormack
- Opened on:
- 2008-12-15
- Description:
- It would be convenient to allow certain SVG interface types to be implemented by script. For example, allowing an SVGRect to be implemented with an ECMAScript object would simplify calls to getIntersectionList():
svgElement.getIntersectionList({ x: 0, y: 0, width: 100, height: 50 }, e);
SVGPoint and SVGMatrix are more troublesome perhaps, since they have operations on them. Maybe these datatype interfaces can have constructors, e.g.:
svgElement.getIntersectionList(new SVGRect(0, 0, 100, 50), e);
- Related Actions Items:
ACTION-2443 on Cameron McCormack to Write up a proposal for SVG type constructors - due 2009-02-12, closed- Related emails:
- Minutes, Feb 5, 2009 telcon (from cam@mcc.id.au on 2009-02-06)
- Agenda, Feb 5, 2009 telcon (from ed@opera.com on 2009-02-04)
- ISSUE-2192 (script-implemented-objects): Consider allowing script to implement certain objects [SVG Core 2.0] (from sysbot+tracker@w3.org on 2008-12-15)
Related notes:
Proposal checked in:
http://dev.w3.org/SVG/proposals/type-constructors/type-constructors.txt
Display change log