| Summary: | Popsicle animation does not match rendering in either Firefox or Chrome | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Naman Goel <naman34> | ||||||
| Component: | Animations | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | dino, graouts, graouts, simon.fraser, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 13 | ||||||||
| Hardware: | Mac | ||||||||
| OS: | macOS 10.15 | ||||||||
| URL: | https://codepen.io/tiggr/pen/mdJmaMr | ||||||||
| Attachments: |
|
||||||||
|
Description
Naman Goel
2020-03-04 13:22:54 PST
Created attachment 392468 [details]
Screen Recording from Chrome
Further investigation shows that the problem is much better in new versions of Safari. A previous version of safari would've choked on this, but now it works smoothly: https://codepen.io/colinkeany/pen/RJXOqM This leads me to think that iframes and videos specifically cause animations to jank. Another update: https://codepen.io/colinkeany/pen/RJXOqM The animations do eventually go slightly out of sync, but the deviation is small. Another example that shows animation problems in Safari: https://codepen.io/tiggr/pen/mdJmaMr (In reply to Naman Goel from comment #2) > Further investigation shows that the problem is much better in new versions > of Safari. Which versions of Safari / macOS in particular are you comparing? Have you looked at recent Safari Technology Preview builds and/or macOS 10.15.4 betas as well? We have switched to a new animation engine based on the Web Animations specification recently. So that last test case shows an animation issue where the three colored parts that eventually melt don't quite grow as expected: https://codepen.io/tiggr/pen/mdJmaMr. However, I'm not seeing obvious issues with previous reported links. So I think we'll keep this bug about https://codepen.io/tiggr/pen/mdJmaMr. Naman Goel, thanks for filing this. Please raise individual bugs when you find an issue, it makes things easier to track. There's also a delay for the melting drops that we don't seem to be respecting. Retitling to match the work tracked for this bug. Note that neither Safari nor Firefox nor Chrome have the same behavior here. I believe the intended behavior is the one from Chrome, though it remains to be seen if it's compliant (though I gather it is). The popsicle example is the most egregious. The other bugs don’t happen consistently anyway. |