Bug 233234

Summary: Need a way to test scrolling momentum animations
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2021-11-16 20:24:41 PST
Currently WheelEventTestMonitor doesn't know about momentum animations, but even if it did, it's impossible to write a test that determines whether an "End" momentum event has interrupted the momentum. This is because we start the animator when we see the momentum "Began", ignoring the rest of the momentum changed. The animator runs on a display link callback on the scrolling thread, so we don't have a reliable way to know when the animator has run enough frames to move content around.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-11-23 20:25:19 PST
Note You need to log in before you can comment on or make changes to this bug.