Bug 226354 - VisualViewport fires lots scroll events for 0.5px offsets when scrolling on Retina iOS device
Summary: VisualViewport fires lots scroll events for 0.5px offsets when scrolling on R...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-27 13:38 PDT by Simon Fraser (smfr)
Modified: 2021-06-07 10:22 PDT (History)
3 users (show)

See Also:


Attachments
Testcase (1.51 KB, text/html)
2021-05-27 13:38 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-05-27 13:38:39 PDT
Created attachment 429921 [details]
Testcase

When not zoomed, we should not be firing scroll events on the VisualViewport. However, we do, because of some 0.5px difference between the layout viewport and visual viewport, probably due to rounding. See testcase, test on iPad.
Comment 1 Radar WebKit Bug Importer 2021-05-27 13:38:58 PDT
<rdar://problem/78584763>
Comment 2 Simon Fraser (smfr) 2021-05-27 13:39:21 PDT
We also fire events on rubberbanding.