Auto merge of #15646 - Manishearth:marker, r=heycam

Actually include file with marker shorthand

This wasn't being included so nothing was actually happening.

r? @heycam or @mbrubeck

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15646)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-02-19 00:07:40 -08:00 committed by GitHub
commit d88e275f1f
2 changed files with 5 additions and 3 deletions

View file

@ -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" />
}

View file

@ -10,12 +10,13 @@
use values::specified::UrlOrNone;
pub fn parse_value(context: &ParserContext, input: &mut Parser) -> Result<Longhands, ()> {
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),
})
}