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
Other unexpected behaviors can also be observed: 1. Insert "0" between 2 and 3 2. Click "Change Value" 3. Undo Result: 679
Confirmed on shipping Safari as well as Safari Technology Preview.
<rdar://problem/25650777>