Ctrl+Right from LTR to RTL makes infinite loop |
|||||||
Issue descriptionType Ctrl+Right at the end of "abc" in below HTML makes Blink in infinite loop: <div id="sample" contenteditable>abc<div dir="rtl">def</div>ghi</div> See https://jsfiddle.net/7we7tcbt/1/
,
Mar 24 2017
Simple tool for this issue: https://jsfiddle.net/3pykkjzd/ Current implementation is broken, in following example, we get anchorOffset=0 instead of anchorOffset=7 Example 1: anchorOffset should be 7 <div id="sample" contenteditable>abc<div dir="rtl">def</div>ghi|</div> Example 2: anchorOffset should be 0 <div id="sample" contenteditable>abc<div dir="rtl">|def</div>ghi</div>
,
Apr 7 2017
The repro in #0 only works on Win To repro on Linux: Open https://jsfiddle.net/moL9779r/1/, put caret at the end of "abc ", and press Ctrl+Right
,
Apr 7 2017
Issue 697781 has been merged into this issue.
,
Apr 10 2017
WebKit implements computeInlineBoxPosition() as Position::getInlineBoxAndOffset()[1] [1] https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/dom/Position.cpp
,
Apr 13 2017
,
Apr 13 2017
,
Apr 27 2017
Lower to Pri-2, since this issue exists long time and I found this in these days.
,
Jun 6 2017
,
Oct 4 2017
,
Oct 4
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 5
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by yosin@chromium.org
, Mar 16 2017Components: Blink>Editing
Owner: ----
Status: Available (was: Started)