Bug 186981

Summary: REGRESSION: hardware-accelerated animation fails on inline element
Product: WebKit Reporter: mitz
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, webkit-bug-importer
Priority: P1 Keywords: InRadar, Regression
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=187044
Attachments:
Description Flags
Test case
none
Patch dino: review+

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>