servo/components/style/gecko
Emilio Cobos Álvarez 2a1e89468a style: Ensure we cancel transitions without the need of an extra flush
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
2023-10-02 14:37:19 +00:00
..
arc_types.rs style: Add basic @container rule parsing and boilerplate 2023-08-16 17:46:41 +02:00
boxed_types.rs Implement Animation.commitStyles. 2019-05-29 16:14:16 +02:00
conversions.rs style: Reformat recent changes. 2020-04-16 17:50:17 +02:00
data.rs style: Cache computed styles objects display: none subtrees 2023-08-16 17:46:41 +02:00
media_features.rs style: Remove -moz-scrollbar-thumb-proportional 2023-08-16 17:46:41 +02:00
media_queries.rs style: Fix dynamic viewport size 2023-10-02 14:37:19 +00:00
mod.rs style: Remove the old profiler label frames code in the servo codebase and replace it with the new API 2023-05-24 18:32:40 +02:00
non_ts_pseudo_class_list.rs style: Make fullscreen modal 2023-10-02 14:37:19 +00:00
pseudo_element.rs style: Remove ThinBoxedSlice 2023-06-09 10:22:25 +02:00
pseudo_element_definition.mako.rs style: Remove ThinBoxedSlice 2023-06-09 10:22:25 +02:00
regen_atoms.py Standardize on Black for Python code in mozilla-central. 2021-02-26 16:44:05 +01:00
restyle_damage.rs style: Speed up custom property diffing. 2021-02-26 16:44:05 +01:00
selector_parser.rs style: Add simple parsing and matching support for :has 2023-10-02 14:37:19 +00:00
snapshot.rs style: Unify Gecko and Servo EventState/ElementState bits 2023-10-02 14:37:19 +00:00
snapshot_helpers.rs style: Deduplicate TokenList values faster 2023-08-16 17:46:41 +02:00
traversal.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
url.rs Rustfmt. 2021-02-26 16:44:05 +01:00
values.rs style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
wrapper.rs style: Ensure we cancel transitions without the need of an extra flush 2023-10-02 14:37:19 +00:00