W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: DOM Level 2: EventTargets and Nodes

From: Arnaud Le Hors <lehors@us.ibm.com>
Date: Tue, 28 Mar 2000 17:10:17 -0800
Message-ID: <38E157F9.D25EFE89@us.ibm.com>
To: Steve.Ball@zveno.com
CC: www-dom@w3.org
Steve Ball wrote:
> > The spec says:
> "The EventTarget interface is implemented by all Nodes
> in an implementation...".  However, EventTarget does
> not derive from Node, and there are no methods to
> create an association.  For Level 2, is this something
> extra that must be provided by the implementation?

Yes. The idea is that if your implementation supports the event module
then every node should implement this interface.

> ... 
>  I just can't
> see the coupling of a Node to an EventTarget.

There is no direct coupling. They are different interfaces that need to
be implemented by the same classes.
Arnaud  Le Hors - IBM Cupertino, XML Technology Group
Received on Tuesday, 28 March 2000 20:11:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC