gecko-dev/servo
Emilio Cobos Álvarez 575e1efaa1 Bug 1778983 - Ensure we cancel transitions without the need of an extra flush. r=boris
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
2022-07-14 12:45:14 +00:00
..
components Bug 1778983 - Ensure we cancel transitions without the need of an extra flush. r=boris 2022-07-14 12:45:14 +00:00
ports/geckolib Bug 1293490 - Part 3: Support animation-composition in keyframe at rules. r=emilio 2022-07-12 19:02:04 +00:00
tests/unit Bug 1768905 - Move size of tests to compile-time tests in the style crate. r=dshin 2022-05-11 19:02:58 +00:00
moz.build
rustfmt.toml