Created attachment 207287 [details] test case Steps to reproduce: 1) Open attached test case. 2) Position the mouse pointer over some vertical text at the right hand side of the definition. 3) Three-finger tap the trackpad or press Command-Control-D EXPECTED: The text under the mouse pointer is highlighted and the Lookup popover appears ACTUAL: Nothing happens. Lookup fails silently. <rdar://problem/14478260>
Created attachment 207340 [details] proposed fix
Comment on attachment 207340 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=207340&action=review > Source/WebCore/editing/Editor.cpp:2694 > + bool startCaretIsVertical = startCaretRect.width() == caretWidth; I think it would be more clear if you named this variable to indicate the direction of the text rather than the caret. Here caret is vertical mean text is horizontal and that confused me.
Committed <http://trac.webkit.org/r153060>.