Bug 271311 - [web-animations] pause animation scheduling while style-originated animations are being updated
Summary: [web-animations] pause animation scheduling while style-originated animations...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks: 267762
  Show dependency treegraph
 
Reported: 2024-03-20 05:35 PDT by Antoine Quint
Modified: 2024-03-20 13:28 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2024-03-20 05:35:13 PDT
When we will be adding animation support for the `display` property (see bug 267762) we will need to resolve animations even when the underlying style has `display: none` to see whether animations yield a different value. In that process, we may create style-originated animations that will ultimately be canceled once we're certain `display: none` is still set. As it stands, the creation of a style-originated animation will immediately lead to animation scheduling and possibly be observable through Web content by the dispatch of animation events. As such, we must pause animation scheduling while we consider new style-originated animations.
Comment 1 Antoine Quint 2024-03-20 05:40:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26187
Comment 2 EWS 2024-03-20 13:27:25 PDT
Committed 276414@main (64ea9d3d29ee): <https://commits.webkit.org/276414@main>

Reviewed commits have been landed. Closing PR #26187 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-03-20 13:28:12 PDT
<rdar://problem/125110029>