final CSSValue value = layoutContext.getValue(key);
CSSStringValue lineEllipsis = null;
CSSStringValue blockEllipsis = null;
if (value instanceof CSSValueList)
{
final CSSValueList vlist = (CSSValueList) value;
if (vlist.getLength() == 2)
{
lineEllipsis = filterString(vlist.getItem(0));
blockEllipsis = filterString(vlist.getItem(1));
}
else if (vlist.getLength() == 1)
{
lineEllipsis = filterString(vlist.getItem(0));
blockEllipsis = filterString(vlist.getItem(0));
}
}
if (lineEllipsis == null)
{
lineEllipsis = new CSSStringValue(CSSStringType.STRING, "..");