Bug 189411 - [Web Animations] Positive delays of accelerated animations are not respected
Summary: [Web Animations] Positive delays of accelerated animations are not respected
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-09-07 09:47 PDT by Antoine Quint
Modified: 2018-09-17 10:37 PDT (History)
5 users (show)

See Also:


Attachments
Test (461 bytes, text/html)
2018-09-07 09:47 PDT, Antoine Quint
no flags Details
Patch (5.66 KB, patch)
2018-09-10 03:13 PDT, Antoine Quint
no flags Details | Formatted Diff | Diff
Patch (3.44 KB, patch)
2018-09-17 02:22 PDT, Antoine Quint
dino: review+
Details | Formatted Diff | Diff

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