In-line style and extra semi-colon

I have noticed an odd behavior with in-line style attributes and enyo 2.5.1.1
I'm not sure when this changed but in enyo 2.2.0 I would make a component like so:
{name: 'myThing', kind: enyo.Control, style: 'width: 50px; height: 50px;'}

Notice the semi-colon at the end of the style attribute. This was always necessary as the framework did not add one for you. It would produce a tag like so:


In enyo 2.5.1.1, however, if you add that semi-colon at the end of the style attribute you get an extra one on the element for free! Using that exact same declaration you get a tag like so:


This appears to be a bug.

Comments

Sign In or Register to comment.