REGRESSION: Invoking dictionary lookup on text in some search fields searches for
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Nov 2014 00:49:33 +0000 (00:49 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Nov 2014 00:49:33 +0000 (00:49 +0000)
commita4d93dfc7adc79672453704802f8909e0fe87c22
tree7270e4438855aa7a2a66477d29c3b386f6284570
parentfd43891bd0b0530dbec075763ecb11f58c3847c3
REGRESSION: Invoking dictionary lookup on text in some search fields searches for
incorrect item
https://bugs.webkit.org/show_bug.cgi?id=138853
-and corresponding-
rdar://problem/18912505

Reviewed by Tim Horton.

Get the visible position based on the frame, not just the renderer.
* editing/mac/DictionaryLookup.mm:
(WebCore::rangeForDictionaryLookupAtHitTestResult):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/mac/DictionaryLookup.mm