Bug 296924
| Summary: | [TextureMapper] plays cubic-bezier CSS animations as linear instead | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | development.slash |
| Component: | WPE WebKit | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, cgarcia |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Other | ||
| OS: | Linux | ||
development.slash
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/49003
EWS
Committed 298329@main (7d66ab5046b6): <https://commits.webkit.org/298329@main>
Reviewed commits have been landed. Closing PR #49003 and removing active labels.