Closed sonnyp closed 11 years ago
Agreed but document
is not an event target, says @mounirlamouri (and in Mounir we trust)
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget "The EventTarget interface is implemented by all Nodes in an implementation which supports the DOM Event Model."
document is a Node and so, an event target
/me grumbles
Oh, indeed. However, our implementation doesn't do that. We have the following hierarchy: nsIDOMHTMLDocument < nsIDOMDocument < nsIDOMNode < nsISupports
I remember that I spoke with smaug about that. He might know more about this.
Please see #21
s/dispath/dispatch