Title: [262839] trunk/LayoutTests
Revision
262839
Author
[email protected]
Date
2020-06-10 07:30:50 -0700 (Wed, 10 Jun 2020)

Log Message

[iPadOS] editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html times out
https://bugs.webkit.org/show_bug.cgi?id=213010
<rdar://problem/64182061>

Reviewed by Tim Horton.

This test times out because the second tap (which is intended to toggle callout bar visibility by tapping on the
text selection) misses completely, due to the fact that the midpoint of the selected paragraph element is
somewhere in the middle of the page.

Fix this by simply making the selection target `inline-block`, such that the element width doesn't expand to
the width of the page.

* editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (262838 => 262839)


--- trunk/LayoutTests/ChangeLog	2020-06-10 13:17:30 UTC (rev 262838)
+++ trunk/LayoutTests/ChangeLog	2020-06-10 14:30:50 UTC (rev 262839)
@@ -1,3 +1,20 @@
+2020-06-10  Wenson Hsieh  <[email protected]>
+
+        [iPadOS] editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html times out
+        https://bugs.webkit.org/show_bug.cgi?id=213010
+        <rdar://problem/64182061>
+
+        Reviewed by Tim Horton.
+
+        This test times out because the second tap (which is intended to toggle callout bar visibility by tapping on the
+        text selection) misses completely, due to the fact that the midpoint of the selected paragraph element is
+        somewhere in the middle of the page.
+
+        Fix this by simply making the selection target `inline-block`, such that the element width doesn't expand to
+        the width of the page.
+
+        * editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html:
+
 2020-06-10  Diego Pino Garcia  <[email protected]>
 
         [GTK][WPE] Gardening, update expectations after r262834

Modified: trunk/LayoutTests/editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html (262838 => 262839)


--- trunk/LayoutTests/editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html	2020-06-10 13:17:30 UTC (rev 262838)
+++ trunk/LayoutTests/editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html	2020-06-10 14:30:50 UTC (rev 262839)
@@ -13,6 +13,7 @@
 }
 
 #text {
+    display: inline-block;
     font-size: 120px;
     margin: 0;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to