Fix radial gradient's <size>/<ending-shape> parsing

This commit is contained in:
Nazım Can Altınova 2016-10-17 21:43:06 +03:00
parent 41df705661
commit 89850e6efa
2 changed files with 61 additions and 54 deletions

View file

@ -215,6 +215,15 @@ impl Position {
}
}
}
pub fn center() -> Position {
Position {
horiz_keyword: Some(Keyword::Center),
horiz_position: None,
vert_keyword: Some(Keyword::Center),
vert_position: None,
}
}
}
impl Keyword {