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

Re: SVG12: DOMObject portability

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 03 Dec 2005 13:24:18 +0100
Message-ID: <20051203132418.t97l7vpcg3q8kkk8@webmail.annevankesteren.nl>
To: Robin Berjon <robin.berjon@expway.fr>
Cc: www-svg@w3.org

Quoting Robin Berjon <robin.berjon@expway.fr>:
>>> I'm just replying to your last question since I don't know anything
>>> about Gecko. The reason not to return a Node is because you can set
>>> focus on an SVGElementInstance (like a use:d element) which isn't  a Node
>>> but an EventTarget.
>>
>> Per DOM3Events EventTarget is implemented on all objects that  
>> implement the Node
>> interface[1]. What's your point?
>
> Yes, but SVGElementInstance doesn't.

So SVG extends DOM events in such a way that non-Nodes can become the 
target of
an event? Only for SVGElementInstance? Was there really no cleaner way 
to solve
this?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Saturday, 3 December 2005 12:24:20 GMT

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