Title: [235228] trunk/LayoutTests
Revision
235228
Author
[email protected]
Date
2018-08-23 10:09:21 -0700 (Thu, 23 Aug 2018)

Log Message

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:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (235227 => 235228)


--- trunk/LayoutTests/ChangeLog	2018-08-23 16:39:53 UTC (rev 235227)
+++ trunk/LayoutTests/ChangeLog	2018-08-23 17:09:21 UTC (rev 235228)
@@ -1,3 +1,14 @@
+2018-08-23  Ryan Haddad  <[email protected]>
+
+        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  <[email protected]>
 
         Further adjustments to http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html

Modified: trunk/LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html (235227 => 235228)


--- trunk/LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html	2018-08-23 16:39:53 UTC (rev 235227)
+++ trunk/LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html	2018-08-23 17:09:21 UTC (rev 235228)
@@ -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();

Modified: trunk/LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html (235227 => 235228)


--- trunk/LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html	2018-08-23 16:39:53 UTC (rev 235227)
+++ trunk/LayoutTests/fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html	2018-08-23 17:09:21 UTC (rev 235228)
@@ -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();

Modified: trunk/LayoutTests/fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html (235227 => 235228)


--- trunk/LayoutTests/fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html	2018-08-23 16:39:53 UTC (rev 235227)
+++ trunk/LayoutTests/fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html	2018-08-23 17:09:21 UTC (rev 235228)
@@ -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();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to