Update iOS selection tests to reflect new behavior introduced by r235153
authorryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2018 17:09:21 +0000 (17:09 +0000)
committerryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2018 17:09:21 +0000 (17:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=188888

Reviewed by Megan Gardner.

* fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html:
* fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html:
* fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html:

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

LayoutTests/ChangeLog
LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html
LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html
LayoutTests/fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html

index 51bfbda..f2819d8 100644 (file)
@@ -1,3 +1,14 @@
+2018-08-23  Ryan Haddad  <ryanhaddad@apple.com>
+
+        Update iOS selection tests to reflect new behavior introduced by r235153
+        https://bugs.webkit.org/show_bug.cgi?id=188888
+
+        Reviewed by Megan Gardner.
+
+        * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html:
+        * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html:
+        * fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html:
+
 2018-08-22  John Wilander  <wilander@apple.com>
 
         Further adjustments to http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html
index fb3cd03..f9ce1a0 100644 (file)
@@ -76,7 +76,7 @@
             output += '<br>';
 
             var result = await touchAndDragFromPointToPoint(dragX, dragY, dragX, dragY4);
-            if (document.getSelection().toString() == "s")
+            if (document.getSelection().toString() == "sed")
                 output += 'PASS: Correct Selection';
             else
                 output += 'FAIL: failed to reduce selection to a single character by dragging up. Incorrect Selection: ' + document.getSelection().toString();
index d66acd4..c403f25 100644 (file)
@@ -76,7 +76,7 @@
             output += '<br>';
 
             var result = await touchAndDragFromPointToPoint(dragX, dragY, dragX, dragY4);
-            if (document.getSelection().toString() == "t")
+            if (document.getSelection().toString() == "at")
                 output += 'PASS: Correct Selection';
             else
                 output += 'FAIL: failed to reduce selection to a single character by dragging down. Incorrect Selection: ' + document.getSelection().toString();
index 893a4c7..122f8ad 100644 (file)
@@ -65,7 +65,7 @@
             output += '<br>';
 
             var result = await touchAndDragFromPointToPoint(dragX, dragY, dragX, dragY4);
-            if (document.getSelection().toString() == "t")
+            if (document.getSelection().toString() == "ut")
                 output += 'PASS: Correct Selection';
             else
                 output += 'FAIL: failed to reduce selection to a single character by dragging down. Incorrect Selection: ' + document.getSelection().toString();