Bug 189411

Summary: [Web Animations] Positive delays of accelerated animations are not respected
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, ews-watchlist, simon.fraser, tsavell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test
none
Patch
none
Patch dino: review+

Description Antoine Quint 2018-09-07 09:47:45 PDT
Created attachment 349153 [details]
Test

See the attached test case, an animation with a delay does not respect it if it's accelerated:

document.body.appendChild(document.createElement("div")).animate({
    transform: ["translateX(100px)", "none"]
}, { duration: 1000, delay: 1000 });
Comment 1 Antoine Quint 2018-09-07 09:48:00 PDT
<rdar://problem/44151416>
Comment 2 Antoine Quint 2018-09-10 03:13:28 PDT
Created attachment 349306 [details]
Patch
Comment 3 Antoine Quint 2018-09-10 12:05:38 PDT
Committed r235854: <https://trac.webkit.org/changeset/235854>
Comment 5 Antoine Quint 2018-09-17 02:22:12 PDT
Reopening to attach new patch.
Comment 6 Antoine Quint 2018-09-17 02:22:14 PDT
Created attachment 349880 [details]
Patch
Comment 7 Antoine Quint 2018-09-17 10:37:56 PDT
Committed r236072: <https://trac.webkit.org/changeset/236072>