public static UnitValue parseUnitValueOrAlign(String s, boolean isHor, UnitValue emptyReplacement)
	{
		if (s.length() == 0)
			return emptyReplacement;

		UnitValue align = parseAlignKeywords(s, isHor);
		if (align != null)
			return align;

		return parseUnitValue(s, emptyReplacement, isHor);
	}