Bug 850364 - Implement setRangeText for HTMLInputElement. r=ehsan