Bug 1929366 [wpt PR 48983] - [CodeHealth] Misc cleanup in PointerEvent wpts, a=testonly

Automatic update from web-platform-tests
[CodeHealth] Misc cleanup in PointerEvent wpts (#48983)

This is a no-op change to remove a few unused methods/features.

Change-Id: I5406533f119c052bfe63f7fffdd17e9d828b7964
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5989014
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1378549}

Co-authored-by: Mustaq Ahmed <mustaq@google.com>
--

wpt-commits: eb02ec4fb139eee2d9360e6285a7561954f72198
wpt-pr: 48983
This commit is contained in:
Blink WPT Bot 2024-11-07 04:39:55 +00:00 коммит произвёл moz-wptsync-bot
Родитель 47830bcaf9
Коммит d96db80c47
3 изменённых файлов: 2 добавлений и 23 удалений

Просмотреть файл

@ -44,7 +44,7 @@
}
function removeChild() {
parent.removeChild(child);
child.remove();
event_log.push("(child-removed)");
}

Просмотреть файл

@ -62,7 +62,7 @@ addEventListener("load", () => {
if (event.target == node) {
events.push({type: event.type, target: event.target});
}
}, {capture: true});
});
}
}
div3.addEventListener("click", event => {

Просмотреть файл

@ -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;