Title: [247629] branches/safari-608-branch/Source/WebKit
Revision
247629
Author
alanc...@apple.com
Date
2019-07-18 18:39:46 -0700 (Thu, 18 Jul 2019)

Log Message

Cherry-pick r247552. rdar://problem/53279120

    Set WordIsNearTap flag, was not being set at all before
    https://bugs.webkit.org/show_bug.cgi?id=199880

    Reviewed by Wenson Hsieh.

    * WebProcess/WebPage/ios/WebPageIOS.mm:
    (WebKit::WebPage::selectWithGesture):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247552 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (247628 => 247629)


--- branches/safari-608-branch/Source/WebKit/ChangeLog	2019-07-19 01:34:38 UTC (rev 247628)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog	2019-07-19 01:39:46 UTC (rev 247629)
@@ -1,3 +1,28 @@
+2019-07-18  Alan Coon  <alanc...@apple.com>
+
+        Cherry-pick r247552. rdar://problem/53279120
+
+    Set WordIsNearTap flag, was not being set at all before
+    https://bugs.webkit.org/show_bug.cgi?id=199880
+    
+    Reviewed by Wenson Hsieh.
+    
+    * WebProcess/WebPage/ios/WebPageIOS.mm:
+    (WebKit::WebPage::selectWithGesture):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-07-17  Megan Gardner  <megan_gard...@apple.com>
+
+            Set WordIsNearTap flag, was not being set at all before
+            https://bugs.webkit.org/show_bug.cgi?id=199880
+
+            Reviewed by Wenson Hsieh.
+
+            * WebProcess/WebPage/ios/WebPageIOS.mm:
+            (WebKit::WebPage::selectWithGesture):
+
 2019-07-18  Kocsen Chung  <kocsen_ch...@apple.com>
 
         Cherry-pick r247557. rdar://problem/53254407

Modified: branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm (247628 => 247629)


--- branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm	2019-07-19 01:34:38 UTC (rev 247628)
+++ branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm	2019-07-19 01:39:46 UTC (rev 247629)
@@ -1364,6 +1364,7 @@
                 if (distanceBetweenPositions(position, result) > 1)
                     result = wordRange->endPosition();
             }
+            flags = WordIsNearTap;
         } else if (atBoundaryOfGranularity(position, WordGranularity, DirectionBackward)) {
             // The position is at the end of a word.
             result = position;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to