From 9bc6224d81366afc61358fec3497a84d8a43b4ac Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Sun, 2 Apr 2017 11:06:23 +0900 Subject: [PATCH] Bug 1352771 - Fix justify-content values. r=bholley MozReview-Commit-ID: L4HFHTettLB --HG-- extra : rebase_source : 33128c6bbbfbe2e2d77e3d4fdc87f6536296db21 --- servo/components/style/values/specified/align.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servo/components/style/values/specified/align.rs b/servo/components/style/values/specified/align.rs index faa415da2b58..98844cd2a74e 100644 --- a/servo/components/style/values/specified/align.rs +++ b/servo/components/style/values/specified/align.rs @@ -358,9 +358,9 @@ fn parse_content_distribution(input: &mut Parser) -> Result { 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(()) } }