Title: [246582] trunk/LayoutTests
Revision
246582
Author
[email protected]
Date
2019-06-18 23:55:13 -0700 (Tue, 18 Jun 2019)

Log 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:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (246581 => 246582)


--- trunk/LayoutTests/ChangeLog	2019-06-19 05:12:35 UTC (rev 246581)
+++ trunk/LayoutTests/ChangeLog	2019-06-19 06:55:13 UTC (rev 246582)
@@ -1,3 +1,16 @@
+2019-06-18  Megan Gardner  <[email protected]>
+
+        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:
+
 2019-06-18  Saam Barati  <[email protected]>
 
         [WHLSL] Support matrices

Modified: trunk/LayoutTests/fast/events/touch/ios/long-press-then-drag-to-select-text.html (246581 => 246582)


--- trunk/LayoutTests/fast/events/touch/ios/long-press-then-drag-to-select-text.html	2019-06-19 05:12:35 UTC (rev 246581)
+++ trunk/LayoutTests/fast/events/touch/ios/long-press-then-drag-to-select-text.html	2019-06-19 06:55:13 UTC (rev 246582)
@@ -31,7 +31,7 @@
             output += '<br>';
 
             var result = await continueTouchAndDragFromPointToPoint(pressPointX, pressPointY, dragX, dragY);
-            if (document.getSelection().toString() == "labore")
+            if (document.getSelection().toString() == "eiusmod tempor incididunt ut labore et dolore magna")
                 output += 'PASS: Correct Selection';
             else
                 output += 'FAIL: failed to reduce selection to a single character by dragging down. Incorrect Selection: ' + document.getSelection().toString();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to