Bug 296924

Summary: [TextureMapper] plays cubic-bezier CSS animations as linear instead
Product: WebKit Reporter: development.slash
Component: WPE WebKitAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia
Priority: P2    
Version: Other   
Hardware: Other   
OS: Linux   

development.slash
Reported 2025-08-05 02:08:47 PDT
When playing a CSS animation using cubic-bezier interpolation in wpewebkit 2.48.5 (and all the way back to 2.38.x and possibly earlier), the animation plays in linear instead. Here is an example: (c) https://loading.io/css/ .lds-ring, .lds-ring div { box-sizing: border-box; } .lds-ring { display: inline-block; position: relative; width: 80px; height: 80px; } .lds-ring div { box-sizing: border-box; display: block; position: absolute; width: 64px; height: 64px; margin: 8px; border: 8px solid currentColor; border-radius: 50%; animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; border-color: currentColor transparent transparent transparent; } .lds-ring div:nth-child(1) { animation-delay: -0.45s; } .lds-ring div:nth-child(2) { animation-delay: -0.3s; } .lds-ring div:nth-child(3) { animation-delay: -0.15s; } @keyframes lds-ring { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
Attachments
Carlos Garcia Campos
Comment 1 2025-08-06 01:46:11 PDT
EWS
Comment 2 2025-08-07 05:10:47 PDT
Committed 298329@main (7d66ab5046b6): <https://commits.webkit.org/298329@main> Reviewed commits have been landed. Closing PR #49003 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.