Skip to content

wpt: Make a few touch-action pointerevents tests work under 800x600 - #47852

Merged
yezhizhen merged 1 commit into
servo:mainfrom
yezhizhen:fix-test
Sep 7, 2026
Merged

yezhizhen merged 1 commit into
servo:mainfrom
yezhizhen:fix-test

Conversation

@yezhizhen

@yezhizhen yezhizhen commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

This should fix the WebDriver Out of Bound Error for Safari (run), and prevent it from happening for Servo after #47821. Right now Servo only FAIL but not ERROR as it ignores touch-action: none under certain circumstances (#47737) and scrolls the viewport.

Firefox/Chromium passed without the change as they don't always use 800x600 except for reftests. The approach we take is similar to web-platform-tests/wpt#48994.

The reason I open this in Servo is that it impacts #47821.

Testing: Screenshot verified with Firefox/Edge.

Before After
image image

Fixes: web-platform-tests/wpt#62481

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#62498) with upstreamable changes.

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

1 similar comment
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

@yezhizhen yezhizhen changed the title wpt: Make a few pointerevents tests work under 800x600 wpt: Make a few touch-action pointerevents tests work under 800x600 Sep 7, 2026
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

1 similar comment
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#62498).

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

2 similar comments
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 7, 2026
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#62498) title and body.

@yezhizhen
yezhizhen added this pull request to the merge queue Sep 7, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 7, 2026
Merged via the queue into servo:main with commit 21ee1ed Sep 7, 2026
37 checks passed
@yezhizhen
yezhizhen deleted the fix-test branch September 7, 2026 10:31
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 7, 2026
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

⛔ Failed to properly merge the upstream pull request (web-platform-tests/wpt#62498). Please address any CI issues and try to merge manually.

RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
…servo#47852)

This should fix the WebDriver Out of Bound Error for Safari
([run](https://staging.wpt.fyi/results/pointerevents?diff&filter=ADC&run_id=5422356349583360&run_id=4684953817186304)),
and prevent it from happening for Servo after
servo#47821. Right now Servo only FAIL but
not ERROR as it ignores `touch-action: none` under certain circumstances
(servo#47737) and scrolls the viewport.

Firefox/Chromium passed without the change as they don't always use
800x600 except for reftests. The approach we take is similar to
web-platform-tests/wpt#48994.

The reason I open this in Servo is that it impacts
servo#47821.

Testing: Screenshot verified with Firefox/Edge.
| Before | After |
| -------- | -------- |
| <img width="1249" height="943" alt="image"
src="https://github.com/user-attachments/assets/6cd472a4-236e-40ea-961e-1bf298eec1dc"
/> | <img width="1244" height="938" alt="image"
src="https://github.com/user-attachments/assets/60687f38-2c42-4a31-b60c-0c442b6a0f3e"
/> |

Fixes: web-platform-tests/wpt#62481

Signed-off-by: Euclid Ye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A few pointerevents tests would trigger WebDriver "Out of Bound" under 800x600

4 participants