mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Fix radial gradient's <size>/<ending-shape> parsing
This commit is contained in:
parent
41df705661
commit
89850e6efa
2 changed files with 61 additions and 54 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue