[EMAIL PROTECTED] wrote:
> Does nsGenericHTMLElement implement the nsIDOMElementCSSInlineStyle
> interface?

Yes.

> http://lxr.mozilla.org/mozilla1.8.0/source/content/html/content/src/nsGenericHTMLElement.h
> 
> I don' t ee the nsGenericHTMLElement has inherited the
> nsIDOMElementCSSInlineStyle class

It doesn't.

> but it has the GetStyle method.

That's correct.  I suggest looking into the QI implementation for 
nsGenericHTMLElement, which should make things clear.

-Boris

P.S.  Hint: If one uses a tear-off, one can implement nsIFoo without inheriting 
from nsIFoo.
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to