Skip to content

Snap to screen pixels instead of px - #7909

Merged
bors-servo merged 1 commit into
servo:masterfrom
paulrouget:subpixelPos
Oct 9, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
paulrouget:subpixelPos

Conversation

@paulrouget

Copy link
Copy Markdown
Contributor

Fixes #7904

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 7, 2015
@metajack

metajack commented Oct 7, 2015

Copy link
Copy Markdown
Collaborator

r? @glennw

@glennw

glennw commented Oct 7, 2015

Copy link
Copy Markdown
Member

@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

jdm commented Oct 7, 2015

Copy link
Copy Markdown
Member

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

@glennw

glennw commented Oct 7, 2015

Copy link
Copy Markdown
Member

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

jdm commented Oct 7, 2015

Copy link
Copy Markdown
Member

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

@glennw

glennw commented Oct 7, 2015

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor Author

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

@glennw

glennw commented Oct 8, 2015

Copy link
Copy Markdown
Member

@bors-servo r+

Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0c4ca2b has been approved by glennw

@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 Oct 8, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0c4ca2b with merge f7b2c3e...

bors-servo pushed a commit that referenced this pull request Oct 8, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@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 Oct 8, 2015
@mbrubeck

mbrubeck commented Oct 8, 2015

Copy link
Copy Markdown
Contributor

@bors-servo retry

#7870

@bors-servo

Copy link
Copy Markdown
Contributor

🔒 Merge conflict

@bors-servo

Copy link
Copy Markdown
Contributor

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

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 8, 2015
@jdm jdm removed the S-tests-failed The changes caused existing tests to fail. label Oct 8, 2015
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 8, 2015
@mbrubeck

mbrubeck commented Oct 8, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0c4ca2b has been approved by mbrubeck

@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. S-needs-rebase There are merge conflict errors. labels Oct 8, 2015
@jdm jdm closed this Oct 9, 2015
@jdm jdm reopened this Oct 9, 2015
@jdm

jdm commented Oct 9, 2015

Copy link
Copy Markdown
Member

@bors-servo: r=mbrubeck

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 99cccb2 has been approved by mbrubeck

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 99cccb2 with merge 8ef8c53...

bors-servo pushed a commit that referenced this pull request Oct 9, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 99cccb2 into servo:master Oct 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants