[Webkit-unassigned] [Bug 39789] New: Change ViewportArguments to use ChromeClient::platformScreenSize instead of ChromeClient::windowRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 26 15:04:23 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39789

           Summary: Change ViewportArguments to use
                    ChromeClient::platformScreenSize instead of
                    ChromeClient::windowRect
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dbates at webkit.org


>From my understanding of the viewport section of the Apple Safari HTML Reference <http://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193-SW6>, device-width and device-height are constants with respect to the width and height of the screen in direction north (e.g. portrait orientation for the iPhone).

And the screen size for the device may not be equivalent to the size of the window rect

We should add methods, say, ChromeClient::platformScreenSize, and ChromeClient::setPlatformScreenSize so that the client can provide the dimensions of the screen in direction north so that ViewportArguments can use these dimensions for the value of device-width and device-height.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list