зеркало из https://github.com/mozilla/gecko-dev.git
575e1efaa1
When something switches to display: none, right now we rely on StopAnimationsForElementsWithoutFrames(), which posts a restyle and the previous ProcessPendingRestyles call was papering over it. For other elements in the display none subtree it doesn't matter, because we don't keep their styles around, but for the display: none element themselves we do need to update transitions on time. We could, possibly more generally, remove StopAnimationsForElementsWithoutFrames() altogether and cancel animations when we clear style data, perhaps... But that's probably worth a follow-up. Differential Revision: https://phabricator.services.mozilla.com/D151600 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |