On May 7, 1:41 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Does nsGenericHTMLElement implement the nsIDOMElementCSSInlineStyle
> > interface?
>
> Yes.
>
> >http://lxr.mozilla.org/mozilla1.8.0/source/content/html/content/src/n...
>
> > 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.

Thank you. When you say "QI implementation for
nsGenericHTMLElemen", do you mean nsGenericHTMLElement.cpp? or
something else?

Thank you.

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

Reply via email to