diff --git a/pointerevents/pointerevent_sequence_at_implicit_release_on_click-manual.html b/pointerevents/pointerevent_sequence_at_implicit_release_on_click-manual.html new file mode 100644 index 00000000000000..274f9a435b3078 --- /dev/null +++ b/pointerevents/pointerevent_sequence_at_implicit_release_on_click-manual.html @@ -0,0 +1,83 @@ + + + + Pointer Event: Event sequence at implicit release on click + + + + + + + + + + + +

Pointer Event: Event sequence at implicit release on click

+

+

+ When a captured pointer is implicitly released after a click, the boundary events should follow the lostpointercapture event. +

+
    +
  1. Click or tap on Black.
  2. +
  3. Click or tap on Green.
  4. +
+
+
+
+

The following pointer types were detected: .

+

The following events were logged: .

+
+
+ + diff --git a/pointerevents/pointerevent_sequence_at_implicit_release_on_drag-manual.html b/pointerevents/pointerevent_sequence_at_implicit_release_on_drag-manual.html new file mode 100644 index 00000000000000..7b8e39b94d674d --- /dev/null +++ b/pointerevents/pointerevent_sequence_at_implicit_release_on_drag-manual.html @@ -0,0 +1,84 @@ + + + + Pointer Event: Event sequence at implicit release on drag + + + + + + + + + + + +

Pointer Event: Event sequence at implicit release on drag

+

+

+ When a captured pointer is implicitly released after a drag, the boundary events should follow the lostpointercapture event. +

+
    +
  1. Drag quickly down starting on Black.
  2. +
  3. Click or tap on Green.
  4. +
+
+
+
+

The following pointer types were detected: .

+

The following events were logged: .

+
+
+ + diff --git a/pointerevents/pointerevent_support.js b/pointerevents/pointerevent_support.js index 28171bda405f3f..03332b6a7b1f50 100644 --- a/pointerevents/pointerevent_support.js +++ b/pointerevents/pointerevent_support.js @@ -226,6 +226,10 @@ MultiPointerTypeTest.prototype.done = function() { prevTest.done(); } +MultiPointerTypeTest.prototype.step = function(stepFunction) { + this.currentTest.step(stepFunction); +} + MultiPointerTypeTest.prototype.createNextTest = function() { if (this.currentTypeIndex < this.types.length) { var pointerTypeDescription = document.getElementById('pointerTypeDescription');