Bug 295177
| Summary: | REGRESSION(294049@main): `document.timeline.currentTime` never advances | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> |
| Component: | Animations | Assignee: | Antoine Quint <graouts> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | graouts, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=295457 | ||
Antoine Quint
The behavior of `document.timeline.currentTime` changed significantly with 294049@main in that after it's been queried once, it never advances again, unless animations are updated. But if there are no animation updates and we just check that value continuously in a `setInterval` loop, that value is frozen forever. This manifests itself for instance if the bounds of an animated element using a `transform` animation need to be checked in-flight, for instance if `focus()` is called on a child element to determine whether it needs to be scrolled into view, since the animation will be fully accelerated and won't schedule animation updates.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/154607696>
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/47359
EWS
Committed 296903@main (64e4b8136112): <https://commits.webkit.org/296903@main>
Reviewed commits have been landed. Closing PR #47359 and removing active labels.
Antoine Quint
The new test added for this bug is a failure on Intel Macs, I filed bug 295457 about that.