mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
d88e275f1f
2 changed files with 5 additions and 3 deletions
|
@ -166,6 +166,7 @@ pub mod shorthands {
|
||||||
<%include file="/shorthand/outline.mako.rs" />
|
<%include file="/shorthand/outline.mako.rs" />
|
||||||
<%include file="/shorthand/padding.mako.rs" />
|
<%include file="/shorthand/padding.mako.rs" />
|
||||||
<%include file="/shorthand/position.mako.rs" />
|
<%include file="/shorthand/position.mako.rs" />
|
||||||
|
<%include file="/shorthand/inherited_svg.mako.rs" />
|
||||||
<%include file="/shorthand/text.mako.rs" />
|
<%include file="/shorthand/text.mako.rs" />
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,12 +10,13 @@
|
||||||
use values::specified::UrlOrNone;
|
use values::specified::UrlOrNone;
|
||||||
|
|
||||||
pub fn parse_value(context: &ParserContext, input: &mut Parser) -> Result<Longhands, ()> {
|
pub fn parse_value(context: &ParserContext, input: &mut Parser) -> Result<Longhands, ()> {
|
||||||
|
use parser::Parse;
|
||||||
let url = UrlOrNone::parse(context, input)?;
|
let url = UrlOrNone::parse(context, input)?;
|
||||||
|
|
||||||
Ok(Longhands {
|
Ok(Longhands {
|
||||||
marker_start: url.clone(),
|
marker_start: Some(url.clone()),
|
||||||
marker_mid: url.clone(),
|
marker_mid: Some(url.clone()),
|
||||||
marker_end: url,
|
marker_end: Some(url),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue