⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 246582 in webkit


Ignore:
Timestamp:
Jun 18, 2019, 11:55:13 PM (7 years ago)
Author:
Megan Gardner
Message:

Text Selection gesture has changed behavior, change test to match new behavior
https://bugs.webkit.org/show_bug.cgi?id=198980
<rdar://problem/51713918>

Reviewed by Wenson Hsieh.

Long press and drag now starts a selection and entends the range, rather than changing
the start of the text selection. Update the test to match the new behavior.

  • fast/events/touch/ios/long-press-then-drag-to-select-text.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r246579 r246582  
     12019-06-18  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Text Selection gesture has changed behavior, change test to match new behavior
     4        https://bugs.webkit.org/show_bug.cgi?id=198980
     5        <rdar://problem/51713918>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        Long press and drag now starts a selection and entends the range, rather than changing
     10        the start of the text selection. Update the test to match the new behavior.
     11
     12        * fast/events/touch/ios/long-press-then-drag-to-select-text.html:
     13
    1142019-06-18  Saam Barati  <sbarati@apple.com>
    215
  • trunk/LayoutTests/fast/events/touch/ios/long-press-then-drag-to-select-text.html

    r227201 r246582  
    3232
    3333            var result = await continueTouchAndDragFromPointToPoint(pressPointX, pressPointY, dragX, dragY);
    34             if (document.getSelection().toString() == "labore")
     34            if (document.getSelection().toString() == "eiusmod tempor incididunt ut labore et dolore magna")
    3535                output += 'PASS: Correct Selection';
    3636            else
Note: See TracChangeset for help on using the changeset viewer.