keydown to keyup/input (bug 1029826)