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:
Related emails:
  1. Minutes, Feb 5, 2009 telcon (from cam@mcc.id.au on 2009-02-06)
  2. Agenda, Feb 5, 2009 telcon (from ed@opera.com on 2009-02-04)
  3. 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

Cameron McCormack, 6 Feb 2009, 00:53:03

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2192.html,v 1.1 2020/01/17 13:20:12 carcone Exp $