| Summary: | [css-animations] Visually hidden elements will not paint when transform translated by @keyframes animation from transform:none | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Roy <roypret> | ||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | maggotfish, tombigel, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 16 | ||||||
| Hardware: | Mac (Apple Silicon) | ||||||
| OS: | macOS 13 | ||||||
| URL: | https://codepen.io/roye7777777/pen/PoxXaJW | ||||||
| Attachments: |
|
||||||
|
Description
Roy
2023-08-31 11:21:26 PDT
I have a similar issue, I think it's the same one, here is a repro: https://jsbin.com/bidolegogu/edit?html,css,output If you hover the "working" div and wait for the animation to play you'll see both p elements animating in and out. If you hover the "broken" div, which has the inner p elements initially translated with `translate: -100%`, you'll see that the left one paints, but the right one does not. The two divs clip their children with `overflow: clip`, and the animation is on the children, doing `transform: translateX(...)`, moving them into view. This is working fine on CH/FF. Still broken on SF 17.4.1. ~Y |