Bug 43662
Summary: | Viewport "device-width" and height should not use window width and height | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | joepeck, joone, kenneth, tmpsantos, tonikitoo |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Joseph Pecoraro
The window's height and width may be different than the device's height and width.
Currently the viewport uses ChromeClient::windowRect for "device-width" and height.
I think it would be better if there was a ChromeClient::deviceRect for "device-width"
and height, and add new attributes "window-width" and height to represent the
windowRect values.
See ViewportArguments:
http://trac.webkit.org/browser/trunk/WebCore/dom/ViewportArguments.cpp#L48
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
<rdar://problem/7704588>