mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
Drop AnimatedProperty for stylo.
set_list_style_type() for gecko needs an additional argument 'Device' [1], and making list-style-type animtable makes AnimatedProperty::update() call the set_list_style_type(). To avoid introducing the Device argument to the setter in servo, this patch makes simply PropertyAnimation conditional build. (Whereas in stylo, we don't use the setter for animation, we use clone_xx() instead.) [1] https://hg.mozilla.org/mozilla-central/file/1d042bcb2632/servo/components/style/properties/properties.mako.rs#l2667
This commit is contained in:
parent
89971910cf
commit
17eba0d4d6
3 changed files with 16 additions and 2 deletions
|
@ -92,7 +92,7 @@ extern crate unicode_segmentation;
|
|||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
pub mod animation;
|
||||
#[cfg(feature = "servo")] pub mod animation;
|
||||
pub mod applicable_declarations;
|
||||
#[allow(missing_docs)] // TODO.
|
||||
#[cfg(feature = "servo")] pub mod attr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue