Re: [DOMCore] Re: ECMAScript Object equivalence classes proposal

On Sat, 02 Apr 2011 22:36:24 +0200, David Bruant <david.bruant@labri.fr>  
wrote:
> Does it mean that each node within a MathML document will inherit from
> EventTarget as well?
> Or any node found in any parsed XML document retrieved through
> XMLHttpRequest?
> I think it does unless you create different "Node" constructors. Tell me
> if I'm wrong.

You are correct.


> If another interface is required to be implemented by Nodes, are you
> going to force this new interface to inherit from EventTarget or
> EventTarget to inherit from it?

We would just add it to Node directly. Through something like  
[Supplemental].


[I am not subscribed to es-discuss, not sure if this will make it there.]


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 20 June 2011 13:19:22 UTC