Skip to content

paint: Unify scrolling/pinch zoom behaviour across platforms#57642

Merged
servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom
servo:servo_export_42387
Feb 9, 2026
Merged

paint: Unify scrolling/pinch zoom behaviour across platforms#57642
servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom
servo:servo_export_42387

Conversation

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

@servo-wpt-sync servo-wpt-sync commented Feb 8, 2026

There has been a weird discrepancy between headed/headless test automation,
as stated in #42386 and servo/servo#42320 (comment).
The problem identified is more general than the intial issue:
we need to use CSS Pixel and Device Pixel consistently in these cases.

  • Convert threshold unit to ensure cross-platform consistency.
  • Adjust TOUCH_PAN_MIN_SCREEN_PX: this is tested on Android/Ohos,
    to match the pinch/scrolling threshold of Firefox/Chrome.

This is critical for test automation which always relies on CSS pixel.

Testing: Added which ensures pinch zoom does happen, and there is no crash for #42320.
Fixes: #42386

Reviewed in servo/servo#42387

Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

Signed-off-by: Euclid Ye <[email protected]>
@servo-wpt-sync servo-wpt-sync merged commit 91bc8a1 into web-platform-tests:master Feb 9, 2026
25 checks passed
@servo-wpt-sync servo-wpt-sync deleted the servo_export_42387 branch February 9, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants