Re: <body>.getBoundingClientRect()
"Kenny Kai Yin Yu" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Hmm, for example, when i do it in www.reuters.com ... On Sun, Jun 22, 2008 at 2:27 AM, Martijn <[email protected]> wrote: > On Sat, Jun 21, 2008 at 7:58 PM, Kenny YU <[email protected]> wrote: > > hi, got a question here: I supposed <body>.getBoundingClientRect() > > should return the rectangle of the whole document. but sometimes it > > returns a rectangle of 0 height. why is that? > > Kenny, in what case does it return a rectangle of 0 height? > > Regards, > Martij > > Thanks > > _______________________________________________ > > dev-tech-dom mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-tech-dom > > > > > > -- > Martijn Wargers - Help Mozilla! > http://weblogs.mozillazine.org/qa/ > http://wiki.mozilla.org/Mozilla_QA_Community > irc://irc.mozilla.org/qa - /nick mw22 >