[Webkit-unassigned] [Bug 237225] New: Setting document.documentElement.scrollTop has unexpected result (when zoomed out)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 25 13:47:03 PST 2022


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

            Bug ID: 237225
           Summary: Setting document.documentElement.scrollTop has
                    unexpected result (when zoomed out)
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: receter at gmail.com

Steps to reproduce:

1. Open any page in Safari (15) and zoom out one step (cmd -)
2. Open console and set document.documentElement.scrollTop = 10
3. Read the same value document.documentElement.scrollTop
4. It is 9 instead of 10

Console output:

> document.documentElement.scrollTop = 10
< 10
> document.documentElement.scrollTop
< 9

-- 
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/20220225/3f618ca7/attachment.htm>


More information about the webkit-unassigned mailing list