| Summary: | Transition started from requestAnimationFrame differs from other browsers | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
| Component: | Animations | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | dino, graouts, graouts, jaffathecake, koivisto, rniwa, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari Technology Preview | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Simon Fraser (smfr)
2021-05-17 08:09:55 PDT
Created attachment 428917 [details]
Test
I rewrote the test to make it so the transition can be re-started and not using transform to remove accelerated animations from the equation. This may be a style resolution issue where we see the style as the value set on the inline style before the animation frame is triggered, where other browsers don't. Indeed, forcing a style recalc by calling getComputedStyle() after the animation frame shows the same behavior across browsers.
Does it reproduce with a software animation (e.g. on 'left')? (In reply to Simon Fraser (smfr) from comment #2) > Does it reproduce with a software animation (e.g. on 'left')? Yes, the test I've attached uses margin-left. This has been broken for a long time, I tried with r236648, the oldest I could find for my system, and it was already broken this way. |