W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

Re: SVG12: DOMObject portability

From: Andrew Shellshear <Andrew.Shellshear@research.canon.com.au>
Date: Wed, 10 May 2006 12:34:32 +0200
Message-ID: <4461C1B8.9080307@research.canon.com.au>
To: www-svg@w3.org
CC: bjoern Hoehrmann <derhoermi@gmx.net>

>* Andrew Shellshear wrote:
>>>   http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html states
>>> that getCurrentFocusedObject() returns a DOMObject; this is pretty use-
>>> less as in order to use it, there would need to be binding-specific
>>> methods to determine the type of the object; pretty much no other DOM
>>> methods make assumptions about languages providing this ability, please
>>> make this method more language neutral.
>>
>>We have added the following explanitary text to the description of getCurrentFocusedObject in
>>http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html#svg::SVGSVGElement -
>>
>>Returns a reference to the object which has the focus.  This returns a 
>>DOMObject because the currently focused object may be an object outside 
>>the SVG namespace.  If the currently focused object is in the SVG 
>>namespace, it should be cast to events::EventTarget.
>
>Could you please provide a rationale for the Working Groups decision to
>reject my request so I can register a formal objection to that decision?


No, that won't be necessary - from discussion with implementers, we 
agree this is a reasonable change.

getCurrentFocusedObject() now returns EventTarget.

Thank you for your thorough review.  Please let us know shortly if  this 
does not address your concerns.

Andrew.
Received on Wednesday, 10 May 2006 10:34:48 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:34 GMT