servo/components/style
Emilio Cobos Álvarez 62345ae14d
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
2016-07-03 12:19:04 -07:00
..
properties Auto merge of #12178 - frewsxcv:prefs, r=emilio 2016-07-03 08:19:04 -07:00
animation.rs style: Do not re-expire animations. 2016-07-03 12:19:04 -07:00
attr.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs Explicitly list inputs to the style crate's build script 2016-05-11 10:46:33 -07:00
Cargo.toml Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
context.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
custom_properties.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
data.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
dom.rs Auto merge of #11834 - servo:style-docs, r=SimonSapin 2016-06-27 17:14:55 -05:00
element_state.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
error_reporting.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
font_face.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
keyframes.rs Reorder code in KeyframesAnimation::from_keyframes() to avoid a panic. 2016-07-01 12:04:29 +02:00
lib.rs style: Add @keyframe rule parsing. 2016-06-28 15:09:53 +00:00
logical_geometry.rs Make the style crate almost build on stable Rust. 2016-06-22 15:44:13 +02:00
matching.rs style: Do not re-expire animations. 2016-07-03 12:19:04 -07:00
media_queries.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
parallel.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
parser.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
refcell.rs Add commit hash to be reverted in FIXME comment. 2016-06-23 16:14:33 +02:00
restyle_hints.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
selector_impl.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
selector_matching.rs style: Shadow declarations of no-op animations 2016-06-28 15:28:01 +00:00
sequential.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
servo.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
stylesheets.rs Refactor util::prefs operations to be methods on static struct. 2016-07-02 16:43:39 -04:00
traversal.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
values.rs style: remove is_servo(), as_servo() and as_servo_mut() 2016-07-01 14:22:53 -07:00
viewport.rs style: Refactor all the animated properties to use the style system properly 2016-06-28 15:09:53 +00:00

servo-style

Style system for Servo, using rust-cssparser for parsing.