Bug 265934
Summary: | [web-animations] effect targeting an element with `display: none` should not schedule immediate animation resolution (affects reddit.com) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antoine Quint <graouts> |
Component: | Animations | Assignee: | Antoine Quint <graouts> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dino, graouts, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Antoine Quint
If an effect targets an element with `display: none` it will currently schedule immediate animation resolution. This affects reddit.com which chews a lot of CPU scheduling animation frames at 60Hz while not performing any visible animations.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antoine Quint
rdar://119191813
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/21384
EWS
Committed 271614@main (452ca171058f): <https://commits.webkit.org/271614@main>
Reviewed commits have been landed. Closing PR #21384 and removing active labels.