Bug 237225

Summary: Setting document.documentElement.scrollTop has unexpected result (when zoomed out)
Product: WebKit Reporter: receter
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: receter, rik, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: macOS 12   

receter
Reported 2022-02-25 13:47:03 PST
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
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-04 13:47:16 PST
Anthony Ricaud
Comment 3 2023-12-20 08:55:53 PST
The autosize library is used by Gitlab which is therefore affected: https://gitlab.com/gitlab-org/gitlab/-/issues/31082
Note You need to log in before you can comment on or make changes to this bug.