// set attributes that should be set for all form fields.
addFormFieldAttributes(element, attributes);
Styles styles = attributes.getStyles();
PropertyValues propertyValues = styles.getPropertyValues();
String value;
if ((value = mcsImageHandler.getAsString(styles)) != null) {
element.setAttribute("localsrc", value);
}
StyleValue styleValue;
styleValue = propertyValues.getComputedValue(
StylePropertyDetails.MCS_SELECTION_LIST_TRIGGER);
element.setAttribute("style", styleValue.getStandardCSS());
String tabindex = (String) attributes.getTabindex();