ENYO-2992: test if the style attribute is needed

Tested on W7, Chrome.

Please, see the test cases in the JIRA https://enyojs.atlassian.net/browse/ENYO-2992

Enyo-DCO-1.1-Signed-off-by: Olga Popova <olga.popova@hp.com>