try {
if (_styleProperties != null) {
IDOMElement original = this.getOriginalElement();
DOMStyleUtil.insertStyle(original, _styleAttrName, _styleProperties);
} else if (_context != null) {
ICSSStyleDeclaration styleDeclaration = CSSStyleDeclarationFactory.getInstance().getStyleDeclaration(getOriginalElement(), _styleAttrName);
if (styleDeclaration == null) {
getOriginalElement().setAttribute(_styleAttrName,
""); //$NON-NLS-1$
styleDeclaration = (ICSSStyleDeclaration) ((ElementCSSInlineStyle) getOriginalElement())