Re: SVG12: DOMObject portability

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 UTC