Bug 259741

Summary: REGRESSION - Multiple sequenced animations of the same property do not work
Product: WebKit Reporter: Lukasz Nawrot <xrox>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, dino, graouts, stephen_cobb, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Other   
OS: Unspecified   
Attachments:
Description Flags
iOS 17 recording
none
MacOS Safari 17
none
expected none

Description Lukasz Nawrot 2023-08-02 11:19:05 PDT
When adding two subsequent animations of the same property (in my case 'transform'), the first one is not behaving correctly (jumps a little and comes back to the starting position).
See codepen with minimal repro: https://codepen.io/wookie123/pen/zYMerWP (it should translate right, wait 1s and translate further)

It works as expected on Chrome and Safari 16.3.
It fails on Safari 17 on both MacOS (19616.1.24.11.3) and iOS (21A5291g).
Comment 1 Radar WebKit Bug Importer 2023-08-02 19:27:42 PDT
<rdar://problem/113306184>
Comment 2 stephen_cobb 2023-08-04 15:08:58 PDT
Hi Lukasz, thanks for your report. I don't seem to be able to reproduce this using Safari 16.5 or Safari 17.0. Could you please attach a screen recording of the bad animation?
Comment 3 Lukasz Nawrot 2023-08-05 00:18:43 PDT
Created attachment 467202 [details]
iOS 17 recording
Comment 4 Lukasz Nawrot 2023-08-05 00:19:55 PDT
Created attachment 467203 [details]
MacOS Safari 17
Comment 5 Lukasz Nawrot 2023-08-05 00:36:12 PDT
Created attachment 467204 [details]
expected
Comment 6 Lukasz Nawrot 2023-08-05 01:38:00 PDT
Just checked and it works as expected on Safari 16.5, it seems that the problem is only on Safari 17.0. Let me know if you need any additional information from me
Comment 7 Ahmad Saleem 2023-08-07 02:16:59 PDT
I am not able to reproduce this in Safari Technology Preview 175 and WebKit ToT (266624@main). It might be something broken in between Safari 16.x and Safari 17 but then got fixed.
Comment 8 Lukasz Nawrot 2023-08-10 11:32:24 PDT
Checked on the latest iOS beta and Safari Tech Preview 175 and it seems to work. Thanks!