public void put(StyleAttribute attribute, Object value)
{
if(value == null)
return;
StyleValue compiledValue = attribute.compile(value);
StyleValue originalValue = styles[attribute.index];
styles[attribute.index] = compiledValue;
if(!Util.equal(originalValue, compiledValue))
recordChange(attribute, compiledValue);
}