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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/89832500>
receter
https://github.com/jackmoore/autosize/issues/396
Anthony Ricaud
The autosize library is used by Gitlab which is therefore affected: https://gitlab.com/gitlab-org/gitlab/-/issues/31082