diff --git a/components/style/properties/helpers/animated_properties.mako.rs b/components/style/properties/helpers/animated_properties.mako.rs index 8a035c8c8b9..8839a58cda8 100644 --- a/components/style/properties/helpers/animated_properties.mako.rs +++ b/components/style/properties/helpers/animated_properties.mako.rs @@ -262,7 +262,7 @@ impl AnimatedProperty { % for prop in data.longhands: % if prop.animatable: AnimatedProperty::${prop.camel_case}(ref from, ref to) => { - // https://w3c.github.io/web-animations/#discrete-animation-type + // https://drafts.csswg.org/web-animations/#discrete-animation-type % if prop.animation_value_type == "discrete": let value = if progress < 0.5 { from.clone() } else { to.clone() }; % else: @@ -2833,7 +2833,7 @@ impl ComputeSquaredDistance for AnimatedFilterList { /// /// border-top-color, border-color, border-top, border /// -/// [property-order] https://w3c.github.io/web-animations/#calculating-computed-keyframes +/// [property-order] https://drafts.csswg.org/web-animations/#calculating-computed-keyframes #[cfg(feature = "gecko")] pub fn compare_property_priority(a: &PropertyId, b: &PropertyId) -> cmp::Ordering { match (a.as_shorthand(), b.as_shorthand()) { diff --git a/components/style/values/animated/mod.rs b/components/style/values/animated/mod.rs index 565295b2c31..f7100bf77c8 100644 --- a/components/style/values/animated/mod.rs +++ b/components/style/values/animated/mod.rs @@ -48,15 +48,15 @@ pub trait Animate: Sized { /// An animation procedure. /// -/// +/// #[allow(missing_docs)] #[derive(Clone, Copy, Debug, PartialEq)] pub enum Procedure { - /// + /// Interpolate { progress: f64 }, - /// + /// Add, - /// + /// Accumulate { count: u64 }, }