Serialize baseline values correctly.

This commit is contained in:
Hiroyuki Ikezoe 2017-04-04 11:10:48 +09:00
parent e37e170c50
commit 97e27ca3a7

View file

@ -80,8 +80,8 @@ impl ToCss for AlignFlags {
ALIGN_CENTER => "center", ALIGN_CENTER => "center",
ALIGN_LEFT => "left", ALIGN_LEFT => "left",
ALIGN_RIGHT => "left", ALIGN_RIGHT => "left",
ALIGN_BASELINE => "right", ALIGN_BASELINE => "baseline",
ALIGN_LAST_BASELINE => "baseline", ALIGN_LAST_BASELINE => "last baseline",
ALIGN_STRETCH => "stretch", ALIGN_STRETCH => "stretch",
ALIGN_SELF_START => "self-start", ALIGN_SELF_START => "self-start",
ALIGN_SELF_END => "self-end", ALIGN_SELF_END => "self-end",