enyojs/moonstone — pull request #1713 by aarontam (2014-10-13 21:51:55+00:00)
Title: BHV-15860: Invalidate marquee metrics when selecting item.

### Issue
When a `moon.SelectableItem` is selected and there is enough text to cause it to marquee, the text no longer marquees the proper distance. This is due to the presence of the selection icon, which changes the available space for the marqueeing text.

### Fix
Upon a change in selection state, we `reflow` the `moon.SelectableItem` in order to invalidate the marquee metrics. Additionally, due to some recent changes in the implementation of the selection icon, we can now remove the unnecessary `client` child component and reduce the number of DOM nodes. Lastly, the call to `resetMarquee` was moved from `updateActiveValue` to the `tap` handler as there is a quirk with `moon.Item` that causes the `rendered` method to be fired when the control is upgraded to a full Marquee control; without this change, the call to `resetMarquee` was being made directly after `Spotlight` focus on the control, which caused the marquee to momentarily start, reset, and then start again.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam