aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <me@emiliocobos.me>2016-07-02 14:29:18 -0700
committerEmilio Cobos Álvarez <me@emiliocobos.me>2016-07-03 12:19:04 -0700
commit62345ae14daeab275671ab8f45b20c47887bca27 (patch)
treebaf3eac0c54f78b836ecea8055965ab5f23d5743 /components/script/timers.rs
parent194fb3e199922ef0e1ce7943036800ecac5bbfe3 (diff)
downloadservo-62345ae14daeab275671ab8f45b20c47887bca27.tar.gz
servo-62345ae14daeab275671ab8f45b20c47887bca27.zip
style: Do not re-expire animations.
If we're restyling a page with animations and layout takes too long, we might still have the expired animations from the last restyle, without these being cleared out by layout on `tick_animations`. Unfortunately it's hard (near to impossible?) to make a reduced test case for this, since it heavily depends on the speed of the build and conditions that only happen under heavy loads. Mainly, it depends on how accurately the `TickAllAnimations` message is sent from the constellation. Thus, we can't just re-expire an animation, and we should re-check for it as a previous animation. Fixes #12171
Diffstat (limited to 'components/script/timers.rs')
0 files changed, 0 insertions, 0 deletions