Calculate width with jquery, then set
Merge branch 'bug/text-editing-firefox-43426431' into development