W3C home > Mailing lists > Public > www-svg@w3.org > July 2005

SVG12: getCurrentFocusedObject return type

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 04 Jul 2005 04:23:03 +0200
To: www-svg@w3.org
Message-ID: <42f69d83.482928359@smtp.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html states
that getCurrentFocusedObject() returns a DOMObject; this does not make
much sense to me, from the draft it seems that only event targets can
be currently focused objects, i.e. SVGDocument, SVGElementInstance,
and SVGElement objects, all of which implement EventTarget, so this
should really return an events::EventTarget object. If there are cases
where objects can have focus that are not event targets, please point
this out clearly in the draft. If there are not, please change the
return type to events::EventTarget.

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 4 July 2005 02:23:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:07 UTC