[Webkit-unassigned] [Bug 151384] New: window.innerWidth seems to return something other than the viewport width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 18 03:56:15 PST 2015


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

            Bug ID: 151384
           Summary: window.innerWidth seems to return something other than
                    the viewport width
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: iOS
                OS: iOS 9.0
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tobi at tobireif.com

Please load this page

http://tobireif.com/non_site_stuff/copy_of_tobireif_com_startpage_for_webkit_bugreport_innerWidth/

in the iPhone 4s (iOS 9.1) simulator. The "stamp" (circle) should be centered.

Change the function getViewportWidth to always return window.innerWidth, then view the page in the iPhone simulator. The contact stamp is off-center (but in eg Firefox with the ~same window size it's centered as intended).

I'd like to be able to use the simple version of the function for all browsers & OSs & devices.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151118/b924c26b/attachment-0001.html>


More information about the webkit-unassigned mailing list