Title: [246897] trunk/LayoutTests
Revision
246897
Author
[email protected]
Date
2019-06-27 12:43:41 -0700 (Thu, 27 Jun 2019)

Log Message

pointerevents/ios/pointer-events-implicit-capture.html fails on iOS
https://bugs.webkit.org/show_bug.cgi?id=199259

Patch by Antoine Quint <[email protected]> on 2019-06-27
Reviewed by Dean Jackson.

The assumptions made by this test were incorrect. The "gotpointercapture" event should not be dispatched
until the next pointer event is dispatched after setting pointer capture. Even though pointer capture is
set implicitly on "pointerdown" on non-mouse devices, the event will only be fired once a "pointermove" or
"pointerup" event is dispatched.

* pointerevents/ios/pointer-events-implicit-capture.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (246896 => 246897)


--- trunk/LayoutTests/ChangeLog	2019-06-27 18:43:10 UTC (rev 246896)
+++ trunk/LayoutTests/ChangeLog	2019-06-27 19:43:41 UTC (rev 246897)
@@ -1,3 +1,17 @@
+2019-06-27  Antoine Quint  <[email protected]>
+
+        pointerevents/ios/pointer-events-implicit-capture.html fails on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=199259
+
+        Reviewed by Dean Jackson.
+
+        The assumptions made by this test were incorrect. The "gotpointercapture" event should not be dispatched
+        until the next pointer event is dispatched after setting pointer capture. Even though pointer capture is
+        set implicitly on "pointerdown" on non-mouse devices, the event will only be fired once a "pointermove" or
+        "pointerup" event is dispatched.
+
+        * pointerevents/ios/pointer-events-implicit-capture.html:
+
 2019-06-27  Devin Rousso  <[email protected]>
 
         Unreviewed, fix test failures after r246876.

Modified: trunk/LayoutTests/pointerevents/ios/pointer-events-implicit-capture.html (246896 => 246897)


--- trunk/LayoutTests/pointerevents/ios/pointer-events-implicit-capture.html	2019-06-27 18:43:10 UTC (rev 246896)
+++ trunk/LayoutTests/pointerevents/ios/pointer-events-implicit-capture.html	2019-06-27 19:43:41 UTC (rev 246897)
@@ -28,10 +28,10 @@
     ]).then(() => {
         eventTracker.assertMatchesEvents([
             { id: 1, type: "pointerdown" },
+            { id: 2, type: "pointerdown" },
             { id: 1, type: "gotpointercapture", isPrimary: true },
-            { id: 2, type: "pointerdown" },
+            { id: 1, type: "pointermove" },
             { id: 2, type: "gotpointercapture", isPrimary: false },
-            { id: 1, type: "pointermove" },
             { id: 2, type: "pointermove" },
             { id: 1, type: "pointerup" },
             { id: 1, type: "lostpointercapture", isPrimary: true },
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to