Add font-style descriptor in @font-face

This commit is contained in:
Simon Sapin 2017-02-02 19:45:12 +01:00
parent 5405fb0d73
commit 8767b0d7cc
2 changed files with 24 additions and 0 deletions

View file

@ -380,6 +380,13 @@
-> Result<SpecifiedValue, ()> {
SpecifiedValue::parse(input)
}
impl Parse for SpecifiedValue {
#[inline]
fn parse(_context: &ParserContext, input: &mut Parser)
-> Result<SpecifiedValue, ()> {
SpecifiedValue::parse(input)
}
}
</%def>
% if vector:
<%call expr="vector_longhand(name, keyword=Keyword(name, values, **keyword_kwargs), **kwargs)">