Title: [242530] trunk/Tools
Revision
242530
Author
[email protected]
Date
2019-03-05 21:48:29 -0800 (Tue, 05 Mar 2019)

Log Message

Update expected API test result following r242379
(https://bugs.webkit.org/show_bug.cgi?id=195125)

Update expected x-coordinate of selection rect now that the left padding of
a textarea is sized in ems (so dependent on the font size) just like the left
padding of a text field.

* TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (242529 => 242530)


--- trunk/Tools/ChangeLog	2019-03-06 04:11:25 UTC (rev 242529)
+++ trunk/Tools/ChangeLog	2019-03-06 05:48:29 UTC (rev 242530)
@@ -1,3 +1,15 @@
+2019-03-05  Daniel Bates  <[email protected]>
+
+        Update expected API test result following r242379
+        (https://bugs.webkit.org/show_bug.cgi?id=195125)
+
+        Update expected x-coordinate of selection rect now that the left padding of
+        a textarea is sized in ems (so dependent on the font size) just like the left
+        padding of a text field.
+
+        * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
+        (TestWebKitAPI::TEST):
+
 2019-03-05  David Quesada  <[email protected]>
 
         [WK2] It should be possible to follow links with 'download' attributes

Modified: trunk/Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm (242529 => 242530)


--- trunk/Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm	2019-03-06 04:11:25 UTC (rev 242529)
+++ trunk/Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm	2019-03-06 05:48:29 UTC (rev 242530)
@@ -414,7 +414,7 @@
     EXPECT_TRUE([observedEventNames containsObject:@"dragenter"]);
     EXPECT_TRUE([observedEventNames containsObject:@"dragover"]);
     EXPECT_TRUE([observedEventNames containsObject:@"drop"]);
-    checkSelectionRectsWithLogging(@[ makeCGRectValue(6, 203, 990, 232) ], [simulator finalSelectionRects]);
+    checkSelectionRectsWithLogging(@[ makeCGRectValue(101, 203, 990, 232) ], [simulator finalSelectionRects]);
     checkRichTextTypePrecedesPlainTextType(simulator.get());
     EXPECT_TRUE([simulator lastKnownDropProposal].precise);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to