Support serializing vector backgrounds in shorthand form

This commit is contained in:
Manish Goregaokar 2016-08-19 21:27:36 +05:30
parent 979a2798d5
commit 66cdf9ae4f
3 changed files with 176 additions and 136 deletions

View file

@ -316,6 +316,10 @@
computed_value::T::${to_rust_ident(values.split()[0])}
}
#[inline]
pub fn get_initial_specified_value() -> SpecifiedValue {
get_initial_value()
}
#[inline]
pub fn parse(_context: &ParserContext, input: &mut Parser)
-> Result<SpecifiedValue, ()> {
computed_value::T::parse(input)