Kenny Yu wrote:
> I don't understand what is the use of nsIDocument as compared to 
> nsIContent? Isn't nsIContent already enough in representing DOM nodes?

nsIContent represents Element, Comment, CDATA, and Text nodes.  It doesn't 
represent Document or Attr nodes.

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to