Bug 206990

Summary: [Web Animations] Changing the delay of an accelerated animation doesn't seek the animation
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=206995
Attachments:
Description Flags
Patch koivisto: review+

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.