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

Re: SVG12: DOMObject portability

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sat, 03 Dec 2005 20:03:12 -0600
Message-ID: <43924E60.9040900@mit.edu>
To: Robin Berjon <robin.berjon@expway.fr>
CC: Anne van Kesteren <fora@annevankesteren.nl>, www-svg@w3.org

Robin Berjon wrote:
>> Per DOM3Events EventTarget is implemented on all objects that 
>> implement the Node
>> interface[1]. What's your point?
> Yes, but SVGElementInstance doesn't.

OK.  I just looked up this thread again.  Perhaps I should rephrase my orginal 
question as follows:

   Why does getCurrentFocusedObject return a DOMObject that "must be cast to an
   EventTarget" instead of just returning an EventTarget?  In what cases would
   something that is NOT an EventTarget ever have focus?

Received on Sunday, 4 December 2005 02:04:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:05 UTC