Bug 251759

Summary: Scrolling away from and back to an individually playing animation will cause it to be incorrectly paused
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AnimationsAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, changseok, dino, esprehn+autocc, ews-watchlist, glenn, graouts, kondapallykalyan, pdr, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Tyler Wilcock 2023-02-05 11:24:01 PST
Given this sequence:

  1. Pause All Animations on the page
  2. Individually play a single animation, notice it is animating correctly.
  3. Scroll away from the animation such that it's off-screen
  4. Scroll back to the animation

Notice the animation is paused when it should be playing (because it's respecting the page state over its own state).
Comment 1 Tyler Wilcock 2023-02-05 12:59:41 PST
Created attachment 464855 [details]
Patch
Comment 2 EWS 2023-02-06 13:02:14 PST
Committed 259910@main (9d10e5a45e5c): <https://commits.webkit.org/259910@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 464855 [details].
Comment 3 Radar WebKit Bug Importer 2023-02-06 13:03:22 PST
<rdar://problem/105095559>