paint: Unify scrolling/pinch zoom behaviour across platforms#57642
Merged
servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom Feb 9, 2026
Merged
paint: Unify scrolling/pinch zoom behaviour across platforms#57642servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom
servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom
Conversation
wpt-pr-bot
approved these changes
Feb 8, 2026
Collaborator
wpt-pr-bot
left a comment
There was a problem hiding this comment.
The review process for this patch is being conducted in the Servo project.
Signed-off-by: Euclid Ye <[email protected]>
3543ff3 to
fae5730
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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