diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index d0a62fc76e3..7e4d2264aed 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -2974,12 +2974,14 @@ pub mod style_structs { /// Returns whether there is any named progress timeline specified with /// scroll-timeline-name other than `none`. + #[cfg(feature = "gecko")] pub fn specifies_scroll_timelines(&self) -> bool { self.scroll_timeline_name_iter().any(|name| !name.is_none()) } /// Returns whether there is any named progress timeline specified with /// view-timeline-name other than `none`. + #[cfg(feature = "gecko")] pub fn specifies_view_timelines(&self) -> bool { self.view_timeline_name_iter().any(|name| !name.is_none()) }