final CSSNumericValue nval = (CSSNumericValue) rawValue;
return (int) nval.getValue();
}
if (rawValue instanceof CSSAttrFunction)
{
final CSSAttrFunction attrFunction = (CSSAttrFunction) rawValue;
final String attrName = attrFunction.getName();
final String attrNamespace = attrFunction.getNamespace();
final Object rawAttribute =
element.getLayoutContext().getAttributes().getAttribute
(attrNamespace, attrName);
if (rawAttribute instanceof Number)
{