NEW 177129
It is not possible to place collapsed selection at the end of line in contenteditable element with right-click
https://bugs.webkit.org/show_bug.cgi?id=177129
Summary It is not possible to place collapsed selection at the end of line in content...
j.swiderski
Reported 2017-09-19 03:39:12 PDT
Created attachment 321192 [details] HTML page helping to reproduce the problem 1. Open attached file in Safari (Safari should have developer console opened). 2. Right-click (or left-click and then right-click) at the end second line and wait about 5 seconds. Result: The selection expands to the third line and range API confirms selection is no longer collapsed as start and end containers return different values: var r = window.getSelection().getRangeAt(0); console.log(r.startContainer); console.log(r.endContainer);
Attachments
HTML page helping to reproduce the problem (581 bytes, text/html)
2017-09-19 03:39 PDT, j.swiderski
no flags
Image showing the problem (62.62 KB, image/png)
2017-09-19 03:40 PDT, j.swiderski
no flags
j.swiderski
Comment 1 2017-09-19 03:40:03 PDT
Created attachment 321193 [details] Image showing the problem
Note You need to log in before you can comment on or make changes to this bug.