Bug 675579 - Part 1: Set the dir attribute on the input/textarea element when switching the text direction; r=roc
Bug 675579 - Part 2: Dispatch an input event when changing the direction of a plain text element; r=roc