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