Closed
Bug 1283912
Opened 8 years ago
Closed 7 years ago
Setting textarea via value should reset undo state
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1358025
People
(Reporter: aaron.nance, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce: 1. Start with a HTML document with a simple textarea element, something like this: <textarea id="ta"></textarea> 2. Set the value of the using JavaScript, like so document.getELementById( "ta" ).value = "Hi THere"; 3. Click in the textarea and press Ctrl-Z (Undo) Actual results: The text is undone. Expected results: The text should not be undone after being set via JavaScript. This would be consistent with the behavior in all the other browsers.
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → All
Hardware: Unspecified → All
Updated•8 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•