Bug 852087 - Get basic caret manipulation working in text inputs. r=mbrubeck