[Webkit-unassigned] [Bug 225730] New: Scrolling must be done after the layout when doing full page zoom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 12 20:29:38 PDT 2021


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

            Bug ID: 225730
           Summary: Scrolling must be done after the layout when doing
                    full page zoom
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tomoki.imai at sony.com
                CC: simon.fraser at apple.com

How to reproduce:

- Open a long page (for example http://www.rakuten.co.jp/)
- Scroll to the bottom
- Zoom in

Actual result:

Compared to the other browsers (Chrome, Firefox), the scroll position after zoom is different from the original position.

Expected result:

The relative scroll position should be retained as much as possible.

Environment:
- WinCairo MiniBrowser (trunk r277317)
- WebKitGTK MiniBrowser (trunk r277317)
- Safari 13.1 (15609.1.20.111.8)

Note:
In the current code, the updating the scrolling position is done before the re-layout.
The scrolling position is updated with the scale, but it is rounded by the original page height.
https://github.com/WebKit/WebKit/blob/b37910cc0712363914a6d3d2f655db1c9c892f55/Source/WebCore/page/Frame.cpp#L964-L984

-- 
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/20210513/77b0fafb/attachment.htm>


More information about the webkit-unassigned mailing list