diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index a6263b598d68..d7eaf8eb3c41 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -3333,7 +3333,7 @@ fn static_assert() { use gecko_bindings::structs::nsCSSPropertyID::eCSSPropertyExtra_all_properties; if self.gecko.mTransitionPropertyCount == 1 && self.gecko.mTransitions[0].mProperty == eCSSPropertyExtra_all_properties && - self.gecko.mTransitions[0].mDuration.max(0.0) + self.gecko.mTransitions[0].mDelay <= 0.0f32 { + self.transition_combined_duration_at(0) <= 0.0f32 { return false; }