Bug 186981 - REGRESSION: hardware-accelerated animation fails on inline element
Summary: REGRESSION: hardware-accelerated animation fails on inline element
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2018-06-24 13:48 PDT by mitz
Modified: 2018-06-26 08:06 PDT (History)
3 users (show)

See Also:


Attachments
Test case (538 bytes, text/html)
2018-06-24 13:48 PDT, mitz
no flags Details
Patch (12.27 KB, patch)
2018-06-25 05:53 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 mitz 2018-06-24 13:48:49 PDT
Created attachment 343469 [details]
Test case

When the Web Animations experimental feature is on (which is now the default in Safari Technology Preview), the keyframe animation in the attached HTML doesn’t run.
Comment 1 mitz 2018-06-24 13:51:34 PDT
Disabling either one of “Web Animations” and “Web Animations and CSS Integration”, or both, makes the bug go away.
Comment 2 Radar WebKit Bug Importer 2018-06-25 02:16:25 PDT
<rdar://problem/41418697>
Comment 3 Antoine Quint 2018-06-25 02:19:53 PDT
Changing the target element from a <span> to a <div> makes the animation work as expected. We exit early in KeyframeEffectReadOnly::applyPendingAcceleratedActions() because we fail to get a renderer.
Comment 4 Antoine Quint 2018-06-25 05:53:50 PDT
Created attachment 343496 [details]
Patch
Comment 5 Antoine Quint 2018-06-25 12:24:51 PDT
Committed r233164: <https://trac.webkit.org/changeset/233164>