diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index f1057c61bbe..19541d6d79d 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -1832,14 +1832,6 @@ impl PropertyDeclaration { } } - /// The shorthands that this longhand is part of. - pub fn shorthands(&self) -> &'static [ShorthandId] { - match self.id() { - PropertyDeclarationId::Longhand(id) => id.shorthands(), - PropertyDeclarationId::Custom(..) => &[], - } - } - /// Returns true if this property declaration is for one of the animatable /// properties. pub fn is_animatable(&self) -> bool {