Title: [258244] trunk/LayoutTests
Revision
258244
Author
rn...@webkit.org
Date
2020-03-10 18:24:42 -0700 (Tue, 10 Mar 2020)

Log Message

REGRESSION(iOS): editing/selection/ios/selection-after-changing-text-with-callout-menu.html intermittently fails
https://bugs.webkit.org/show_bug.cgi?id=208898

Reviewed by Wenson Hsieh.

iOS no longer shows the callout bar upon Cmd+A. Click on the selection to bring up the callout bar manually.

* editing/selection/ios/selection-after-changing-text-with-callout-menu.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (258243 => 258244)


--- trunk/LayoutTests/ChangeLog	2020-03-11 00:42:45 UTC (rev 258243)
+++ trunk/LayoutTests/ChangeLog	2020-03-11 01:24:42 UTC (rev 258244)
@@ -1,3 +1,14 @@
+2020-03-10  Ryosuke Niwa  <rn...@webkit.org>
+
+        REGRESSION(iOS): editing/selection/ios/selection-after-changing-text-with-callout-menu.html intermittently fails
+        https://bugs.webkit.org/show_bug.cgi?id=208898
+
+        Reviewed by Wenson Hsieh.
+
+        iOS no longer shows the callout bar upon Cmd+A. Click on the selection to bring up the callout bar manually.
+
+        * editing/selection/ios/selection-after-changing-text-with-callout-menu.html:
+
 2020-03-10  Jack Lee  <shihchieh_...@apple.com>
 
         Nullptr crash in CompositeEditCommand::moveParagraphWithClones when indenting non-enclosed elements.

Modified: trunk/LayoutTests/editing/selection/ios/selection-after-changing-text-with-callout-menu.html (258243 => 258244)


--- trunk/LayoutTests/editing/selection/ios/selection-after-changing-text-with-callout-menu.html	2020-03-11 00:42:45 UTC (rev 258243)
+++ trunk/LayoutTests/editing/selection/ios/selection-after-changing-text-with-callout-menu.html	2020-03-11 01:24:42 UTC (rev 258244)
@@ -36,6 +36,14 @@
 
     await UIHelper.activateElementAndWaitForInputSession(editor);
     await UIHelper.keyDown("a", ["metaKey"]);
+
+    let grabberRect = {};
+    while (!grabberRect.width && !grabberRect.height)
+        grabberRect = await UIHelper.getSelectionEndGrabberViewRect();
+    centerX = rect => rect.left + rect.width / 2;
+    centerY = rect => rect.top + rect.height / 2;
+    await UIHelper.activateAt(centerX(grabberRect), centerY(grabberRect));
+
     await UIHelper.waitForMenuToShow();
     await UIHelper.chooseMenuAction("Embiggen");
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to