diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 08c001a9817..be76f0cf1a3 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -166,6 +166,7 @@ pub mod shorthands { <%include file="/shorthand/outline.mako.rs" /> <%include file="/shorthand/padding.mako.rs" /> <%include file="/shorthand/position.mako.rs" /> + <%include file="/shorthand/inherited_svg.mako.rs" /> <%include file="/shorthand/text.mako.rs" /> } diff --git a/components/style/properties/shorthand/inherited_svg.mako.rs b/components/style/properties/shorthand/inherited_svg.mako.rs index 24d6e37890c..81be3b777a4 100644 --- a/components/style/properties/shorthand/inherited_svg.mako.rs +++ b/components/style/properties/shorthand/inherited_svg.mako.rs @@ -10,12 +10,13 @@ use values::specified::UrlOrNone; pub fn parse_value(context: &ParserContext, input: &mut Parser) -> Result { + use parser::Parse; let url = UrlOrNone::parse(context, input)?; Ok(Longhands { - marker_start: url.clone(), - marker_mid: url.clone(), - marker_end: url, + marker_start: Some(url.clone()), + marker_mid: Some(url.clone()), + marker_end: Some(url), }) }