Skip to content

Fix hittesting on HiDPI screens - #21190

Merged
bors-servo merged 1 commit into
servo:masterfrom
jdm:lets-get-physical
Jul 17, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
jdm:lets-get-physical

Conversation

@jdm

@jdm jdm commented Jul 17, 2018 •

Copy link
Copy Markdown
Member

This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Hit testing is offset in GL aquarium #21168
  • These changes do not require tests because we do not have the ability to test embedding input yet.

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 17, 2018
@jdm

jdm commented Jul 17, 2018

Copy link
Copy Markdown
Member Author

r? @gw3583

@highfive highfive assigned gw3583 and unassigned nox Jul 17, 2018
@gw3583

gw3583 commented Jul 17, 2018

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit b260052 has been approved by gw3583

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 17, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit b260052 with merge 0f04670...

bors-servo pushed a commit that referenced this pull request Jul 17, 2018
Fix hittesting on HiDPI screens

This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21168
- [x] These changes do not require tests because we do not have the ability to test embedding input yet.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21190)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css1

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 17, 2018
@jdm

jdm commented Jul 17, 2018

Copy link
Copy Markdown
Member Author

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

@jdm jdm closed this Jul 17, 2018
@jdm jdm reopened this Jul 17, 2018
@jdm

jdm commented Jul 17, 2018

Copy link
Copy Markdown
Member Author

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit b260052 with merge a55cbc6...

bors-servo pushed a commit that referenced this pull request Jul 17, 2018
Fix hittesting on HiDPI screens

This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21168
- [x] These changes do not require tests because we do not have the ability to test embedding input yet.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21190)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jul 17, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 17, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-css

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jul 17, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit b260052 into servo:master Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hit testing is offset in GL aquarium

5 participants