Skip to content

Allow fractional numbers for x and y positions of pointer actions#874

Merged
whimboo merged 1 commit intow3c:mainfrom
whimboo:actions_fraction
Feb 10, 2025
Merged

Allow fractional numbers for x and y positions of pointer actions#874
whimboo merged 1 commit intow3c:mainfrom
whimboo:actions_fraction

Conversation

@whimboo
Copy link
Contributor

@whimboo whimboo commented Feb 7, 2025

Fixes #873.

The relevant WebDriver classic PR is at w3c/webdriver#1881.

Open question if we need this as well for wheel input sources, specifically for the scroll action. In Firefox we currently still only allow integers, but not sure how Chrome behaves here.


Preview | Diff

@whimboo whimboo requested review from OrKoN and jgraham February 7, 2025 15:14
@whimboo whimboo merged commit 198ddae into w3c:main Feb 10, 2025
5 checks passed
@whimboo whimboo deleted the actions_fraction branch February 10, 2025 11:46
github-actions bot added a commit that referenced this pull request Feb 10, 2025
SHA: 198ddae
Reason: push, by whimboo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@whimboo
Copy link
Contributor Author

whimboo commented Feb 10, 2025

I'm going to add tests via https://bugzilla.mozilla.org/show_bug.cgi?id=1946774.

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.

When performing pointer actions the coordinates should support fractional numbers

3 participants