Don't apply styles to elements that don't support styles.
Properly merge dimension style attributes.