[Webkit-unassigned] [Bug 205302] New: -[UIWKDocumentContext markedTextRange] is wrong when the caret is not at the start of marked text
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 16 14:48:11 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=205302
Bug ID: 205302
Summary: -[UIWKDocumentContext markedTextRange] is wrong when
the caret is not at the start of marked text
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wenson_hsieh at apple.com
CC: wenson_hsieh at apple.com
-[UIWKDocumentContext markedTextRange] wrong in almost all circumstances (the only exception is when the selection is a caret at the start of the composition range). This is partially due to logic in UIKit that attempts to compute -markedTextRange without considering the overlap between `contextBefore` and `markedText`, but also due to `selectedRangeInMarkedText` being wrong, since distanceBetweenPositions(A, B) returns a negative value if A comes before B.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191216/2389f08e/attachment-0001.htm>
More information about the webkit-unassigned
mailing list