WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
27978
getBoundingClientRect method of DOM element return wrong value for some page
https://bugs.webkit.org/show_bug.cgi?id=27978
Summary
getBoundingClientRect method of DOM element return wrong value for some page
String
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug