Bug 27978 - getBoundingClientRect method of DOM element return wrong value for some page
Summary: getBoundingClientRect method of DOM element return wrong value for some page
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 02:44 PDT by String
Modified: 2009-08-06 17:22 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description String 2009-08-04 02:44:02 PDT
http://www.gamespot.com/pc/strategy/sinsofasolarempire/review.html

I try to get the clinet rectangle of this page by invoking "getBoundingClientRect" on the <html> element. But it returns an rectangle with zero height. I also inspect this page in safari4.0.2 and arora8.0, both give height=0 for <html> element.

The Qwebframe::contentSize() can give a non-empty result for this page.