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

Snap to screen pixels instead of px #7909

Merged
merged 1 commit into from Oct 9, 2015
Merged

Conversation

@paulrouget
Copy link
Contributor

paulrouget commented Oct 7, 2015

Fixes #7904

Review on Reviewable

@metajack
Copy link
Contributor

metajack commented Oct 7, 2015

r? @glennw

@glennw
Copy link
Member

glennw commented Oct 7, 2015

@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?

@jdm
Copy link
Member

jdm commented Oct 7, 2015

If we have a plan to tackle the pixel snapping test failure, then let's hold off. Otherwise merging with flaky is acceptable.

@glennw
Copy link
Member

glennw commented Oct 7, 2015

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?

@jdm
Copy link
Member

jdm commented Oct 7, 2015

I would extend the flaky check to include the image size for now.

@glennw
Copy link
Member

glennw commented Oct 7, 2015

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?

@paulrouget
Copy link
Contributor Author

paulrouget commented Oct 8, 2015

As recommended by @mbrubeck I set resolution=300x300 to avoid the giant window (which I guess it's why the test is flaky)

@paulrouget paulrouget force-pushed the paulrouget:subpixelPos branch from f6999d3 to 0c4ca2b Oct 8, 2015
@glennw
Copy link
Member

glennw commented Oct 8, 2015

@bors-servo r+

Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2015

📌 Commit 0c4ca2b has been approved by glennw

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2015

Testing commit 0c4ca2b with merge f7b2c3e...

bors-servo pushed a commit that referenced this pull request Oct 8, 2015
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2015

💔 Test failed - linux-rel

@mbrubeck
Copy link
Contributor

mbrubeck commented Oct 8, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2015

🔒 Merge conflict

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2015

The latest upstream changes (presumably #7920) made this pull request unmergeable. Please resolve the merge conflicts.

@paulrouget paulrouget force-pushed the paulrouget:subpixelPos branch from 0c4ca2b to 99cccb2 Oct 8, 2015
@mbrubeck
Copy link
Contributor

mbrubeck commented Oct 8, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2015

📌 Commit 0c4ca2b has been approved by mbrubeck

@jdm
Copy link
Member

jdm commented Oct 9, 2015

@bors-servo: r=mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Oct 9, 2015

📌 Commit 99cccb2 has been approved by mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Oct 9, 2015

Testing commit 99cccb2 with merge 8ef8c53...

bors-servo pushed a commit that referenced this pull request Oct 9, 2015
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 9, 2015

@bors-servo bors-servo merged commit 99cccb2 into servo:master Oct 9, 2015
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build is in progress
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.

None yet

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