aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/style/values/specified/align.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/style/values/specified/align.rs b/components/style/values/specified/align.rs
index faa415da2b5..98844cd2a74 100644
--- a/components/style/values/specified/align.rs
+++ b/components/style/values/specified/align.rs
@@ -358,9 +358,9 @@ fn parse_content_distribution(input: &mut Parser) -> Result<AlignFlags, ()> {
let ident = input.expect_ident()?;
match_ignore_ascii_case! { &ident,
"stretch" => Ok(ALIGN_STRETCH),
- "space_between" => Ok(ALIGN_SPACE_BETWEEN),
- "space_around" => Ok(ALIGN_SPACE_AROUND),
- "space_evenly" => Ok(ALIGN_SPACE_EVENLY),
+ "space-between" => Ok(ALIGN_SPACE_BETWEEN),
+ "space-around" => Ok(ALIGN_SPACE_AROUND),
+ "space-evenly" => Ok(ALIGN_SPACE_EVENLY),
_ => Err(())
}
}