Bug 244974
Summary: | Dragged Text and CMD+Z makes text inaccessible | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ap, bfulgham, cdumez, karlcow, rniwa, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://jsfiddle.net/359qn1vm/6/ |
Ahmad Saleem
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
Indeed the text goes back to the first textarea, but the
text1.select();
text1.value
returns an empty string.
Radar WebKit Bug Importer
<rdar://problem/99889663>