Bug 251759 - Scrolling away from and back to an individually playing animation will cause it to be incorrectly paused
Summary: Scrolling away from and back to an individually playing animation will cause ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tyler Wilcock
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-05 11:24 PST by Tyler Wilcock
Modified: 2023-02-06 13:03 PST (History)
10 users (show)

See Also:


Attachments
Patch (9.23 KB, patch)
2023-02-05 12:59 PST, Tyler Wilcock
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>