UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.52 Safari/537.36
Steps to reproduce the problem:
1. Go to https://bug1423973.bmoattachments.org/attachment.cgi?id=8935482, https://bug1423973.bmoattachments.org/attachment.cgi?id=8935488 or open the attached test case.
2. Do not mind the alert and click it away. It does not concern you (actually it might but this is for another bug report, it has to do with browser differences for getComputedTextLength() in conjunction with textLength).
3. Try to select the text from the middle or from the right end.
What is the expected behavior?
Selection should happen where the text cursor is.
What went wrong?
The more right you start your selection from, the more there seems to be an offset between the visible cursor position and where the selection is happening.
Did this work before? N/A
Does this work in other browsers? Yes
Chrome version: 63.0.3239.52 Channel: n/a
OS Version:
Flash Version:
Reproduced on Linux and Windows.
Works fine in Mozilla Firefox. In IE/Edge there is also no offset but instead there are graphical glitches.
|
Deleted:
getComputedTextLength vs. textLength.html
1.1 KB
|
|
getComputedTextLength vs. textLength.html
1.1 KB
View
Download
|
Comment 1 by dtapu...@chromium.org
, Dec 11 2017