Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a3d25bb21b9b3283e50679df4c4af4ce3e4286d9
      
https://github.com/WebKit/WebKit/commit/a3d25bb21b9b3283e50679df4c4af4ce3e4286d9
  Author: Wenson Hsieh <[email protected]>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M Source/WebCore/page/Frame.cpp

  Log Message:
  -----------
  `screen.width` and `screen.height` in headless mode should not change when 
page scale factor is changed
https://bugs.webkit.org/show_bug.cgi?id=253762
rdar://106482703

Reviewed by Tim Horton.

Account for page scale factor when computing the screen size in headless mode, 
such that the
adjusted dimensions remain stable as the page is zoomed on both macOS and iOS.

* Source/WebCore/page/Frame.cpp:
(WebCore::Frame::screenSize const):

Canonical link: https://commits.webkit.org/261574@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to