Skip to content

Commit a45e3b0

Browse files
committed
Further changes required by Servo
1 parent dc878ad commit a45e3b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/style/properties/properties.mako.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,12 +2974,14 @@ pub mod style_structs {
29742974

29752975
/// Returns whether there is any named progress timeline specified with
29762976
/// scroll-timeline-name other than `none`.
2977+
#[cfg(feature = "gecko")]
29772978
pub fn specifies_scroll_timelines(&self) -> bool {
29782979
self.scroll_timeline_name_iter().any(|name| !name.is_none())
29792980
}
29802981

29812982
/// Returns whether there is any named progress timeline specified with
29822983
/// view-timeline-name other than `none`.
2984+
#[cfg(feature = "gecko")]
29832985
pub fn specifies_view_timelines(&self) -> bool {
29842986
self.view_timeline_name_iter().any(|name| !name.is_none())
29852987
}

0 commit comments

Comments
 (0)