diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 7b19126aeb6..aaf9ddfe88c 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -468,7 +468,7 @@ fn append_serialization<'a, W, I>(dest: &mut W, return append_declaration_value(dest, appendable_value, is_important); } - write!(dest, "{}:", property_name); + try!(write!(dest, "{}:", property_name)); // for normal parsed values, add a space between key: and value match &appendable_value {