aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/positioned.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-12-05 17:37:59 +0100
committerGitHub <noreply@github.com>2024-12-05 16:37:59 +0000
commit54761b4f32ff949e8d886fbd2a8d16ac30704783 (patch)
tree5ac742e13355aa7339497101ae49954d4f969847 /components/layout_2020/positioned.rs
parent1591a3b506364d259293db926cef81c9240604f7 (diff)
downloadservo-54761b4f32ff949e8d886fbd2a8d16ac30704783.tar.gz
servo-54761b4f32ff949e8d886fbd2a8d16ac30704783.zip
script: Update animations once per-Document during `update_the_rendering()` (#34489)
Before, `update_the_rendering()` would update all animations for all Documents once per-Document. Apart from being generally wrong, the specification says this should be done once per-Document. This theoretically means that `update_the_rendering()` is just doing less work every time it runs. In addition: - Don't redirty animations nodes when running rAF callbacks. They should already be dirty when animations are updated. - Perform a microtask checkpoint while updating animations as dictacted by the specification. - Update comments to reflect the specification text. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/layout_2020/positioned.rs')
0 files changed, 0 insertions, 0 deletions