[Webkit-unassigned] [Bug 159063] New: characterSubrange returns a single character range for an empty range
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 23 11:06:08 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159063
Bug ID: 159063
Summary: characterSubrange returns a single character range for
an empty range
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ap at webkit.org
CC: enrica at apple.com, rniwa at webkit.org
As seen in bug 159062, DictionaryLookup::rangeAtHitTestResult returns a 1-character string when -[LULookupDefinitionModule tokenRangeForString:range:options:] returns (0, 0).
This seems like a pretty crazy bug deep inside editing code - why do we do this? We pass (0, 0) to TextIterator::subrange, then it goes to characterSubrange, and it becomes 1-character when routed through a character iterator.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160623/34fcdc4c/attachment-0001.html>
More information about the webkit-unassigned
mailing list