while (unit != null)
{
for (int i = 0; i < entries.length; i++)
{
final Map.Entry entry = entries[i];
final CSSValueReadHandler valueReadHandler = (CSSValueReadHandler) entry.getValue();
final StyleKey key = (StyleKey) entry.getKey();
final CSSValue value = valueReadHandler.createValue(key, unit);
if (value != null)
{
map.put(key, value);
break;
}