Bug 206990 - [Web Animations] Changing the delay of an accelerated animation doesn't seek the animation
Summary: [Web Animations] Changing the delay of an accelerated animation doesn't seek ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-30 02:53 PST by Antoine Quint
Modified: 2020-01-30 10:47 PST (History)
4 users (show)

See Also:


Attachments
Patch (11.75 KB, patch)
2020-01-30 03:10 PST, Antoine Quint
koivisto: 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 2020-01-30 02:53:47 PST
[Web Animations] Changing the delay of an accelerated animation doesn't seek the animation
Comment 1 Antoine Quint 2020-01-30 03:10:59 PST
Created attachment 389237 [details]
Patch
Comment 2 Antoine Quint 2020-01-30 03:11:04 PST
<rdar://problem/58675608>
Comment 3 Antoine Quint 2020-01-30 05:48:07 PST
Committed r255422: <https://trac.webkit.org/changeset/255422>
Comment 4 Simon Fraser (smfr) 2020-01-30 10:47:53 PST
Comment on attachment 389237 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=389237&action=review

> LayoutTests/webanimations/seeking-by-changing-delay-accelerated.html:41
> +            // Then wait another frame to ensure the seek was committed.
> +            if (window.testRunner)
> +                requestAnimationFrame(() => testRunner.notifyDone());

You should not need to do this. Ending the test should cause a rendering update which should update animations.