mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Support serializing vector backgrounds in shorthand form
This commit is contained in:
parent
979a2798d5
commit
66cdf9ae4f
3 changed files with 176 additions and 136 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue