WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
244974
Dragged Text and CMD+Z makes text inaccessible
https://bugs.webkit.org/show_bug.cgi?id=244974
Summary
Dragged Text and CMD+Z makes text inaccessible
Ahmad Saleem
Reported
2022-09-09 06:52:51 PDT
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!
Attachments
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2022-09-13 14:46:30 PDT
Indeed the text goes back to the first textarea, but the text1.select(); text1.value returns an empty string.
Radar WebKit Bug Importer
Comment 2
2022-09-13 14:46:42 PDT
<
rdar://problem/99889663
>
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