Bug 117092

Summary: unexpected undo behavior after changing input value programatically
Product: WebKit Reporter: John Firebaugh <john.firebaugh>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, dbates, enrica, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

John Firebaugh
Reported 2013-05-31 14:18:09 PDT
To reproduce: 1. Load http://jsfiddle.net/zAmy9/ 2. Select "1234" and press delete key 3. Click "Change Value" 4. Edit -> Undo Expected result: Either undo is disabled, or it produces a blank value (the previous state) Actual result: 67891234
Attachments
John Firebaugh
Comment 1 2013-05-31 14:19:54 PDT
Other unexpected behaviors can also be observed: 1. Insert "0" between 2 and 3 2. Click "Change Value" 3. Undo Result: 679
Ryosuke Niwa
Comment 2 2016-04-11 01:43:55 PDT
Confirmed on shipping Safari as well as Safari Technology Preview.
Radar WebKit Bug Importer
Comment 3 2016-04-11 01:44:46 PDT
Note You need to log in before you can comment on or make changes to this bug.