Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: Dispatch click events using the correct button/buttons #1564

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

trflynn89
Copy link
Contributor

We were generating click events always using the primary mouse button
instead of the provided button, and with the buttons field set to that
provided button.

Caught by WPT Perform Actions tests.

Rather than having to know what 1 means, let's use the enum value.
We were generating click events always using the primary mouse button
instead of the provided button, and with the buttons field set to that
provided button.
@awesomekling awesomekling merged commit dd5a036 into LadybirdBrowser:master Sep 29, 2024
6 checks passed
@trflynn89 trflynn89 deleted the mouseevents branch September 29, 2024 17:31
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.

2 participants