Title: [210525] trunk/Source/WebKit2
Revision
210525
Author
enr...@apple.com
Date
2017-01-09 15:17:52 -0800 (Mon, 09 Jan 2017)

Log Message

Selection animation flashing on editable content when zooming.
https://bugs.webkit.org/show_bug.cgi?id=166863
rdar://problem/29931470

Reviewed by Tim Horton.

Implementing _allowAnimatedUpdateSelectionRectView and returning NO,
prevents the selection animation in UIKit.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _allowAnimatedUpdateSelectionRectViews]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (210524 => 210525)


--- trunk/Source/WebKit2/ChangeLog	2017-01-09 22:35:27 UTC (rev 210524)
+++ trunk/Source/WebKit2/ChangeLog	2017-01-09 23:17:52 UTC (rev 210525)
@@ -1,3 +1,17 @@
+2017-01-09  Enrica Casucci  <enr...@apple.com>
+
+        Selection animation flashing on editable content when zooming.
+        https://bugs.webkit.org/show_bug.cgi?id=166863
+        rdar://problem/29931470
+
+        Reviewed by Tim Horton.
+
+        Implementing _allowAnimatedUpdateSelectionRectView and returning NO,
+        prevents the selection animation in UIKit.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView _allowAnimatedUpdateSelectionRectViews]):
+
 2017-01-06  Gustavo Noronha Silva  <gustavo.noro...@collabora.co.uk>
 
         [GTK] Should support key and code properties on keyboard events

Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (210524 => 210525)


--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2017-01-09 22:35:27 UTC (rev 210524)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2017-01-09 23:17:52 UTC (rev 210525)
@@ -2748,6 +2748,11 @@
 // Keyboard interaction
 // UITextInput protocol implementation
 
+- (BOOL)_allowAnimatedUpdateSelectionRectViews
+{
+    return NO;
+}
+
 - (void)beginSelectionChange
 {
     [self.inputDelegate selectionWillChange:self];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to