From 1541a2d154fd8f79fc3a37079d6f371eee6e230e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sat, 18 Feb 2017 23:20:39 -0800 Subject: [PATCH] Actually include file with marker shorthand --- components/style/properties/properties.mako.rs | 1 + .../style/properties/shorthand/inherited_svg.mako.rs | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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), }) }