diff --git a/testing/web-platform/tests/pointerevents/pointerevent_after_target_removed.html b/testing/web-platform/tests/pointerevents/pointerevent_after_target_removed.html index 97a1a83fc874a..a79600295e4c3 100644 --- a/testing/web-platform/tests/pointerevents/pointerevent_after_target_removed.html +++ b/testing/web-platform/tests/pointerevents/pointerevent_after_target_removed.html @@ -44,7 +44,7 @@ } function removeChild() { - parent.removeChild(child); + child.remove(); event_log.push("(child-removed)"); } diff --git a/testing/web-platform/tests/pointerevents/pointerevent_pointer_boundary_events_after_removing_last_over_element.html b/testing/web-platform/tests/pointerevents/pointerevent_pointer_boundary_events_after_removing_last_over_element.html index bf2a405f727d8..869e65ee86348 100644 --- a/testing/web-platform/tests/pointerevents/pointerevent_pointer_boundary_events_after_removing_last_over_element.html +++ b/testing/web-platform/tests/pointerevents/pointerevent_pointer_boundary_events_after_removing_last_over_element.html @@ -62,7 +62,7 @@ if (event.target == node) { events.push({type: event.type, target: event.target}); } - }, {capture: true}); + }); } } div3.addEventListener("click", event => { diff --git a/testing/web-platform/tests/pointerevents/pointerevent_support.js b/testing/web-platform/tests/pointerevents/pointerevent_support.js index f17a76e5f5e95..7dd60f5a54d90 100644 --- a/testing/web-platform/tests/pointerevents/pointerevent_support.js +++ b/testing/web-platform/tests/pointerevents/pointerevent_support.js @@ -170,27 +170,6 @@ function updateDescriptionComplete() { document.getElementById('desc').innerHTML = "Test Description: Test complete"; } -function updateDescriptionSecondStepTouchActionElement(target, scrollReturnInterval) { - window.step_timeout(function() { - objectScroller(target, 'up', 0);} - , scrollReturnInterval); - document.getElementById('desc').innerHTML = "Test Description: Try to scroll element RIGHT moving your outside of the red border"; -} - -function updateDescriptionThirdStepTouchActionElement(target, scrollReturnInterval, callback = null) { - window.step_timeout(function() { - objectScroller(target, 'left', 0); - if (callback) { - callback(); - } - }, scrollReturnInterval); - document.getElementById('desc').innerHTML = "Test Description: Try to scroll element DOWN then RIGHT starting your touch inside of the element. Then tap complete button"; -} - -function updateDescriptionFourthStepTouchActionElement(target, scrollReturnInterval) { - document.getElementById('desc').innerHTML = "Test Description: Try to scroll element RIGHT starting your touch inside of the element"; -} - function objectScroller(target, direction, value) { if (direction == 'up') { target.scrollTop = 0;