| Summary: | <body> with overflow: hidden CSS is scrollable when the visual viewport is smaller than the layout viewport | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Moore <matthew.garrath.thomas> | ||||||||
| Component: | Scrolling | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Normal | CC: | augus.dupin, ik, simon.fraser, tgels, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Safari 15 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=214781 https://bugs.webkit.org/show_bug.cgi?id=222654 https://bugs.webkit.org/show_bug.cgi?id=237961 https://bugs.webkit.org/show_bug.cgi?id=240859 |
||||||||||
| Attachments: |
|
||||||||||
|
Description
Alex Moore
2022-05-23 23:00:31 PDT
Created attachment 459706 [details]
testcase_video_safari
Here is a video of the testcase in Safari, showing the problem.
Created attachment 459707 [details]
test_case_chrome
Here is the same testcase in Chrome on macOS, where you can see the expected behaviour.
> However, if the page has been zoomed, then the user should be able to scroll inside the clipped layout viewport area, but not beyond. No scrolling beyond that area should be possible.
This is the correct description of the bug, and you're right that WebKit's behavior is incorrect here.
|