[Webkit-unassigned] [Bug 202752] devicePixelRatio always reporting 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 15 07:17:22 PDT 2019


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

Roger Far <roger.versluis at fieldcap.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #11 from Roger Far <roger.versluis at fieldcap.ca> ---
I created a repo and tried to reproduce the issue, which I couldn't it works as expected, except one difference.

If you zoom to 75% in Chromium it will update devicePixelRatio to 0.75, in Safari this number stays constant to 2 but doesn't account for zooming.

The issue came from a user who had their iOS Safari set to "Request Desktop Mode" which in our codebase ignored the devicePixelRatio due to the user-agent string changing, which made me now realize that zooming doesn't change the devicePixelRatio on Safari at all.

The only issue I found is this one: https://bugs.webkit.org/show_bug.cgi?id=124862 where the "webkitPageZoomRatio" property was discussed, but this either doesn't seem to have made it's way into master or was removed again at some point because I can't find it being exposed on the "window" property.

So this reported issue seems to be a non-issue, but I would like to see a discussion if it's wanted to add the webkitPageZoomRatio in again.

-- 
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/20191015/ec23b428/attachment-0001.html>


More information about the webkit-unassigned mailing list