Re: How to get the primaryshell/widget from nsIDocument* with Gecko SDK 2.0
Boris Zbarsky <[email protected]> Thu, 17 Feb 2011 08:22:50 -0500
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 2/17/11 6:57 AM, K.V wrote: > Iam also facing smae issue, how can I get bounds of Document in > Firefox 4.0 using XPCOM APIs? Defined how? Do you want the size of the initial containing block size for the document or the overflow area of the root scroll frame (if any)? (Note that neither is available via "XPCOM" APIs, last I checked; you need to examine internal objects for them.) -Boris