mozilla-b2g/gaia — pull request #16379 by yor-mozilla-com (2014-02-18 01:38:56+00:00)
Title: Fix for bug 973407

1. remove updateElementsHeight() call in messageComposerInputHandler(),
since updateSubjectHeight() already calls it

2. in cancelEdit(), only call updateElementsHeight() if in edit mode

3. in updateElementsHeight(), move code to set input width to 'auto' up
to avoid extra reflow if layout has changed prior to call