[Webkit-unassigned] [Bug 197486] New: Responsive Design Mode doesn't simulate screen size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 18:37:29 PDT 2019


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

            Bug ID: 197486
           Summary: Responsive Design Mode doesn't simulate screen size
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xidorn-webkit at upsuper.org

Some apps choose to use screen size (as opposed to viewport size) as a factor for their responsive design.

Safari doesn't seem to simulate screen size (obtained via `window.screen`) when in Responsive Design Mode, which makes it hard to debug those web apps.

Steps to reproduce:
1. open a website
2. click Develop / Enter Responsive Design Mode
3. click Develop / Show JavaScript Console
4. enter "screen" and enter

Expected result:
It should have a screen object with width and height for the device.

Actual result:
The screen object has the width and height of the current desktop screen.

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


More information about the webkit-unassigned mailing list