Hi Team, While going through Chrome Monorail, I came across a test case, which is broken in Safari/Webkit and it would be good to fix it in Webkit. Link - https://jsfiddle.net/359qn1vm/6/ Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=864941 *** STEPS TO REPRODUCE *** 1) Go to JSFiddle 2) Drag Text from one field to another 3) Press CMD+Z / Ctrl+Z to Undo 4) Click "Check Values" *** ACTUAL RESULT *** text from the left textarea: text from the right textarea: *** EXPECTED RESULT *** text from the left textarea: drag me to another textarea text from the right textarea: <<< OTHER BROWSERS >>> Firefox Nightly 106 - Upon Step 3 - text vanishes Chrome Canary 107 - Work as intended Safari Technology Preview 153 (Tested - Show "Actual Result" above mentioned __________ I think it is good to fix and align the behavior. Keep making Webkit awesome!!! Thanks!
Indeed the text goes back to the first textarea, but the text1.select(); text1.value returns an empty string.
<rdar://problem/99889663>