From f351d955ad3a14962c6fccf6449144c9b7abd899 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Sat, 27 May 2023 06:28:11 +0200 Subject: [PATCH] Further changes required by Servo --- components/style/properties/shorthands/text.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/shorthands/text.mako.rs b/components/style/properties/shorthands/text.mako.rs index 5e71fc08cf3..3f892affdf5 100644 --- a/components/style/properties/shorthands/text.mako.rs +++ b/components/style/properties/shorthands/text.mako.rs @@ -88,6 +88,7 @@ has_value = true; } + % if engine == "gecko": if !is_auto_thickness { if has_value { dest.write_str(" ")?; @@ -95,7 +96,6 @@ self.text_decoration_thickness.to_css(dest)?; } - % if engine == "gecko": if !is_solid_style { if has_value { dest.write_str(" ")?;