Repository navigation
Fix hittesting on HiDPI screens - #21190
Conversation
|
Heads up! This PR modifies the following files:
|
|
r? @gw3583 |
|
@bors-servo r+ |
|
📌 Commit b260052 has been approved by |
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 -->
|
💔 Test failed - mac-rel-css1 |
|
@bors-servo retry |
|
⚡ Previous build results for android, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only mac-rel-css1... |
|
@bors-servo retry |
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 -->
|
💔 Test failed - linux-rel-css |
|
⚡ Previous build results for android, android-x86, arm32, arm64, linux-dev, linux-rel-wpt, mac-dev-unit, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only linux-rel-css, mac-rel-css1... |
|
💔 Test failed - linux-rel-css |
|
⚡ Previous build results for android, android-x86, arm32, arm64, linux-dev, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only linux-rel-css... |
|
☀️ Test successful - android, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is