Re: <body>.getBoundingClientRect()
Martijn <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
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