WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
145075
Dynamically updating or injecting an iframe causes a textarea to lose its undo stack
https://bugs.webkit.org/show_bug.cgi?id=145075
Summary
Dynamically updating or injecting an iframe causes a textarea to lose its und...
Pat O'Callaghan
Reported
2015-05-15 15:25:58 PDT
Yosemite 10.10.3 Safari 8 Steps to reproduce: 1. Type into the textarea 2. Dynamically inject an iframe or update the iframe's srcdoc using JavaScript 3. Focus the texarea and undo the last edit What should happen: The texarea should go back to the last edit. What does happen: The textarea loses its undo stack and doesn't change. This works fine on Chrome and Firefox. I haven't tested on IE. Here's a JSBin which replicates the issue
http://jsbin.com/lodika/1/edit?html,js,output
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug