Re: How get nsIView from a nsGenericElement

Boris Zbarsky <[email protected]> Sun, 25 Apr 2010 23:00:43 -0400
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 4/25/10 9:32 PM, hap497 wrote:
> If I have a pointer to nsGenericElement, how can I get a nsIView of
> the element?

Just based on the element, you can't.  There may not be a view, or there 
may be more than one.

What are you actually trying to do?

-Boris