mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
1. We need to call get_after_change_style, which is the computed styles without transition rules, while process_animations. 2. If we have after-change style, we may replace the new computed values with after-change style, according to whether we really need to update transitions. 3. There are some cases we don't update transitions, so we need to early return. might_needs_transitions_update() will check it first and it will filter out most common cases. 4. needs_transitions_update() will check each property and existing running transitions to make sure we really don't need to update transitions. The logic of this function is similar with that of nsTransitionManager::DoUpdateTransitions(). MozReview-Commit-ID: 2ccdPjgrxKz |
||
---|---|---|
.. | ||
generated | ||
arc_types.rs | ||
conversions.rs | ||
data.rs | ||
global_style_data.rs | ||
media_queries.rs | ||
mod.rs | ||
non_ts_pseudo_class_list.rs | ||
restyle_damage.rs | ||
rules.rs | ||
selector_parser.rs | ||
snapshot.rs | ||
snapshot_helpers.rs | ||
traversal.rs | ||
url.rs | ||
values.rs | ||
wrapper.rs |