Bug 194941

Summary: Retargeting an in-flight transition should account for the transformed progress of the initial transition to compute its duration
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: dino, graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

Antoine Quint
Reported 2019-02-22 01:39:04 PST
Created attachment 362707 [details] Test case See the attached test case. In this example we initially run a transition for 5 seconds, and 2 seconds into its run we change its to-value. In our implementation both the initial and the retargeted transition have the same duration: 5 seconds. However, the retargeted transition should compute its duration by factoring the transformed progress (accounting for the timing-function) of the initial duration when it's interrupted and the transition-duration.
Attachments
Test case (1.28 KB, text/html)
2019-02-22 01:39 PST, Antoine Quint
no flags
Radar WebKit Bug Importer
Comment 1 2019-02-22 01:39:32 PST
Antoine Quint
Comment 2 2023-05-10 12:59:53 PDT
Works correctly in Safari 16!
Note You need to log in before you can comment on or make changes to this bug.