* @param unit
* @return
*/
public Map createValues(LexicalUnit unit)
{
final CSSValue topWidth = parseWidth(unit);
if (topWidth == null)
{
return null;
}
unit = unit.getNextLexicalUnit();
final CSSValue rightWidth;
if (unit == null)
{
rightWidth = topWidth;
}
else
{
rightWidth = parseWidth(unit);
if (rightWidth == null)
{
return null;
}
unit = unit.getNextLexicalUnit();
}
final CSSValue bottomWidth;
if (unit == null)
{
bottomWidth = topWidth;
}
else
{
bottomWidth = parseWidth(unit);
if (bottomWidth == null)
{
return null;
}
unit = unit.getNextLexicalUnit();
}
final CSSValue leftWidth;
if (unit == null)
{
leftWidth = rightWidth;
}
else