Auto merge of #15594 - mbrubeck:align-content-fix, r=Manishearth

Fix initial value of align-content and justify-content

This fixes a trivial mistake in #15533, caused by me misreading the spec. r? @Manishearth

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15594)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-02-16 18:16:28 -08:00 committed by GitHub
commit 3fa9ce16db
2 changed files with 9 additions and 9 deletions

View file

@ -117,10 +117,10 @@ const ALIGN_ALL_SHIFT: u32 = structs::NS_STYLE_ALIGN_ALL_SHIFT;
pub struct AlignJustifyContent(u16);
impl AlignJustifyContent {
/// The initial value 'auto'
/// The initial value 'normal'
#[inline]
pub fn auto() -> Self {
Self::new(ALIGN_AUTO)
pub fn normal() -> Self {
Self::new(ALIGN_NORMAL)
}
/// Construct a value with no fallback.