Changeset 247116 in webkit


Ignore:
Timestamp:
Jul 3, 2019 4:22:46 PM (5 years ago)
Author:
dbates@webkit.org
Message:

REGRESSION (r246817): fast/events/ios/key-events-comprehensive/key-events-{control, control-shift}.html are failing
https://bugs.webkit.org/show_bug.cgi?id=199465
<rdar://problem/52613496>

Reviewed by Wenson Hsieh.

Don't advertise that WebKit can perform cursor movements when there isn't some kind of selection.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView canPerformAction:withSender:]):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r247112 r247116  
     12019-07-03  Daniel Bates  <dabates@apple.com>
     2
     3        REGRESSION (r246817): fast/events/ios/key-events-comprehensive/key-events-{control, control-shift}.html are failing
     4        https://bugs.webkit.org/show_bug.cgi?id=199465
     5        <rdar://problem/52613496>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        Don't advertise that WebKit can perform cursor movements when there isn't some kind of selection.
     10
     11        * UIProcess/ios/WKContentViewInteraction.mm:
     12        (-[WKContentView canPerformAction:withSender:]):
     13
    1142019-07-03  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r247022 r247116  
    29032903        || action == @selector(_moveToEndOfWord:withHistory:) || action == @selector(_moveToStartOfDocument:withHistory:) || action == @selector(_moveToStartOfLine:withHistory:)
    29042904        || action == @selector(_moveToStartOfParagraph:withHistory:) || action == @selector(_moveToStartOfWord:withHistory:) || action == @selector(_moveUp:withHistory:))
    2905         return YES;
     2905        return !editorState.selectionIsNone;
    29062906
    29072907    if (action == @selector(_deleteByWord) || action == @selector(_deleteForwardAndNotify:) || action == @selector(_deleteToEndOfParagraph) || action == @selector(_deleteToStartOfLine)
Note: See TracChangeset for help on using the changeset viewer.