ENYO-2992: test if the style attribute is needed
Merge pull request #628 from enyojs/ENYO-2992

ENYO-2992: test if the style attribute is needed