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