NEW 175131
Context menu change selection in table, which leaks to next cell
https://bugs.webkit.org/show_bug.cgi?id=175131
Summary Context menu change selection in table, which leaks to next cell
m.samsel
Reported 2017-08-03 06:19:54 PDT
Problem seems to be related to: #32622, behaviour is the same but not for the empty cell. Steps to reproduce the problem: 1. Open this code snippet https://codepen.io/msamsel/pen/yoaRWP 2. Put cursor caret at the end of cell. After last letter in specific cell 3. Right click to open context menu You can also use just regular table, with some tools which investigate current selection. What is the expected behaviour? Selection won't change, or selection remain inside this same cell What went wrong? Selection is enlarged, changed to range type and focusNode point to next cell. We had caret type selection inside one cell and this create range type selection with 2 cells. Does this work in other browsers? No Behaviour is the same in Chrome Problem doesn't exist on Firefox. OS Version: OS X 10.12.6 Flash Version: It seems that problem is related to feature which automatically highlight and select word which is right clicked. Unfortunately here selection point to next cell what seems to be not ok. You can make this same type of selection if you put caret after last letter in cell, and then use Shift + Right Arrow to select next character. This will select 2 cells but not first character in next cell.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-08-07 23:12:32 PDT
Piotrek Koszuliński (Reinmar)
Comment 2 2017-09-13 03:21:25 PDT
Is there any progress on this issue? It's literally destroying a table selection in CKEditor.
m.lewandowski
Comment 3 2017-09-13 03:35:15 PDT
Note You need to log in before you can comment on or make changes to this bug.