Bug 998917 - Keyboard keys are reversed in RTL locales

https://bugzilla.mozilla.org/show_bug.cgi?id=998917