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
Reported 2010-08-06 19:07:59 PDT
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
Joseph Pecoraro
Comment 1 2010-08-06 19:12:01 PDT
Note You need to log in before you can comment on or make changes to this bug.