Repository navigation
Snap to screen pixels instead of px - #7909
Conversation
|
r? @glennw |
|
@paul This looks like a good fix, thanks! However, we have some CI related issues with pixel-ratio=2 tests at the moment, and I'm a little concerned merging this now will create a lot of intermittent failures (unrelated to your fix). @jdm Thoughts on the above? Shall we hold off on merging this for now? Merge it with the test marked as flaky? |
|
If we have a plan to tackle the pixel snapping test failure, then let's hold off. Otherwise merging with flaky is acceptable. |
|
I just checked the reftest.rs code and the assert in question will fire even if the test is marked as flaky. I could update reftest.rs to not assert here if marked as flaky (as a temporary workaround), or we may have to just disable this test for now - thoughts @jdm? |
|
I would extend the flaky check to include the image size for now. |
|
OK, I'll change the reftest code today and then we'll be able to merge this. @paulrouget could you update this PR to mark your new test as flaky in the meantime? |
|
As recommended by @mbrubeck I set |
f6999d3 to
0c4ca2b
Compare
|
@bors-servo r+ Thanks! |
|
📌 Commit 0c4ca2b has been approved by |
Snap to screen pixels instead of px Fixes #7904 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7909) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
@bors-servo retry |
|
🔒 Merge conflict |
|
☔ The latest upstream changes (presumably #7920) made this pull request unmergeable. Please resolve the merge conflicts. |
0c4ca2b to
99cccb2
Compare
|
@bors-servo r+ |
|
📌 Commit 0c4ca2b has been approved by |
|
@bors-servo: r=mbrubeck |
|
📌 Commit 99cccb2 has been approved by |
Snap to screen pixels instead of px Fixes #7904 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7909) <!-- Reviewable:end -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Fixes #7904