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

Properly set event.buttons value on mousemove #24709

Merged
merged 1 commit into from Nov 12, 2019
Merged

Conversation

@paulrouget
Copy link
Contributor

paulrouget commented Nov 11, 2019

A regular mousemove doesn't have any pressed button. And we were not resetting the pressed buttons after a click. That was messing up some jquery polyfil.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #24596 (GitHub issue number if applicable)
@highfive
Copy link

highfive commented Nov 11, 2019

Heads up! This PR modifies the following files:

  • @asajeffrey: components/constellation/constellation.rs
  • @cbrewster: components/constellation/constellation.rs
@paulrouget
Copy link
Contributor Author

paulrouget commented Nov 11, 2019

@bors-servo try=wpt

@bors-servo
Copy link
Contributor

bors-servo commented Nov 11, 2019

Trying commit 42ee1a8 with merge 4749d00...

bors-servo added a commit that referenced this pull request Nov 11, 2019
Properly set event.buttons value on mousemove

A regular mousemove doesn't have any pressed button. And we were not resetting the pressed buttons after a click. That was messing up some jquery polyfil.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24596 (GitHub issue number if applicable)
@bors-servo
Copy link
Contributor

bors-servo commented Nov 11, 2019

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
State: approved= try=True

@jdm
Copy link
Member

jdm commented Nov 12, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 12, 2019

📌 Commit 42ee1a8 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Nov 12, 2019

Testing commit 42ee1a8 with merge 641c732...

bors-servo added a commit that referenced this pull request Nov 12, 2019
Properly set event.buttons value on mousemove

A regular mousemove doesn't have any pressed button. And we were not resetting the pressed buttons after a click. That was messing up some jquery polyfil.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24596 (GitHub issue number if applicable)
@bors-servo
Copy link
Contributor

bors-servo commented Nov 12, 2019

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
Approved by: jdm
Pushing 641c732 to master...

@bors-servo bors-servo merged commit 42ee1a8 into servo:master Nov 12, 2019
1 of 2 checks passed
1 of 2 checks passed
Community-TC (pull_request) TaskGroup: failure
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.