mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Fix justify-content values.
This commit is contained in:
parent
2df6e26fd7
commit
4fa9090a0e
1 changed files with 3 additions and 3 deletions
|
@ -358,9 +358,9 @@ fn parse_content_distribution(input: &mut Parser) -> Result<AlignFlags, ()> {
|
||||||
let ident = input.expect_ident()?;
|
let ident = input.expect_ident()?;
|
||||||
match_ignore_ascii_case! { &ident,
|
match_ignore_ascii_case! { &ident,
|
||||||
"stretch" => Ok(ALIGN_STRETCH),
|
"stretch" => Ok(ALIGN_STRETCH),
|
||||||
"space_between" => Ok(ALIGN_SPACE_BETWEEN),
|
"space-between" => Ok(ALIGN_SPACE_BETWEEN),
|
||||||
"space_around" => Ok(ALIGN_SPACE_AROUND),
|
"space-around" => Ok(ALIGN_SPACE_AROUND),
|
||||||
"space_evenly" => Ok(ALIGN_SPACE_EVENLY),
|
"space-evenly" => Ok(ALIGN_SPACE_EVENLY),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue