Bug 117092
Summary: | unexpected undo behavior after changing input value programatically | ||
---|---|---|---|
Product: | WebKit | Reporter: | John Firebaugh <john.firebaugh> |
Component: | Forms | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
John Firebaugh
Other unexpected behaviors can also be observed:
1. Insert "0" between 2 and 3
2. Click "Change Value"
3. Undo
Result: 679
Ryosuke Niwa
Confirmed on shipping Safari as well as Safari Technology Preview.
Radar WebKit Bug Importer
<rdar://problem/25650777>