Bug 27978

Summary: getBoundingClientRect method of DOM element return wrong value for some page
Product: WebKit Reporter: String <tiansjun>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

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.