Summary: | Changing a textarea value through JavaScript screws up undo for all textareas | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexander Staubo <alex> | ||||
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | adele, ap, dbates, rniwa, tkent | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Possibly related to bug # 14033. *** This bug has been marked as a duplicate of bug 61340 *** For completeness, I'm unable to reproduce this issue using the attached test case and nightly r159941 and Safari Version 7.0 (9537.71, 538+) on OS X Mavericks - 10.9 (13A603). In particular, I was able to both undo/redo changes made to both text areas despite the right text area updating its value on a 2 ms interval. |
Created attachment 72375 [details] Test case Consider two textarea fields in the same form. If a bit of JS code programmatically changes the value of one of the fields, the undo function will forget any undos for any part of the document. Test case attached which changes a value every 2 seconds.