Re: How to get the primaryshell/widget from nsIDocument* with Gecko SDK 2.0

"K.V" <[email protected]> Thu, 17 Feb 2011 03:57:50 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <4e893fd8-5456-484f-8ad1-8b5e91f0fa58@o30g2000pra.googlegroups.com>
Iam also facing smae issue, how can I get bounds of Document in
Firefox 4.0 using XPCOM APIs?

On Feb 14, 7:38 pm, Boris Zbarsky <[email protected]> wrote:
> On 2/14/11 9:23 AM, mads wrote:
>
> > Thanks Boris for the immediate response. Could you tell me any way to
> > get the valid widget of that document in this scenario?
>
> If it doesn't have a presshell, it also doesn't have a widget.  It's
> just not being shown at all.
>
> -Boris