diff --git a/components/style/properties/longhand/font.mako.rs b/components/style/properties/longhand/font.mako.rs index c2082af3ef9..7899cadb55c 100644 --- a/components/style/properties/longhand/font.mako.rs +++ b/components/style/properties/longhand/font.mako.rs @@ -902,9 +902,9 @@ ${helpers.single_keyword_system("font-variant-caps", #[inline] fn from_computed_value(computed: &computed_value::T) -> Self { - SpecifiedValue::Length(LengthOrPercentage::Length( - ToComputedValue::from_computed_value(computed) - )) + SpecifiedValue::Length(LengthOrPercentage::Length( + ToComputedValue::from_computed_value(computed) + )) } }