Skip to content

Conversation

demo99
Copy link
Contributor

@demo99 demo99 commented Jan 5, 2018

The inflate size should be multiplied by 2 when downscaling to guarantee the 1 pixel extra edge. This should fix issue #2182 and bug 1423696.

gecko try result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=aac72b3488afd74fce9afcd4edf7ce17763bd57e&selectedJob=154326187

There is an unexpected-pass test. I will add a patch to bug 1423696.


This change is Reviewable

@glennw
Copy link
Member

glennw commented Jan 7, 2018

This causes a CI failure in the wrench reftests - I haven't looked to check if it looks like a bug or just a slight reference image update is required.

@demo99
Copy link
Contributor Author

demo99 commented Jan 8, 2018

The wrench test is about box shadow and the max difference is one. I think I should update the image as well.

@demo99 demo99 force-pushed the box_shadow_inset3 branch from 2cf4bdd to 7106877 Compare January 8, 2018 01:54
@glennw
Copy link
Member

glennw commented Jan 8, 2018

Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 7106877 has been approved by glennw

bors-servo pushed a commit that referenced this pull request Jan 8, 2018
Fix inflate size for inset box shadow.

The inflate size should be multiplied by 2 when downscaling to guarantee the 1 pixel extra edge.  This should fix issue #2182 and [bug 1423696](https://bugzilla.mozilla.org/show_bug.cgi?id=1423696).

gecko try result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=aac72b3488afd74fce9afcd4edf7ce17763bd57e&selectedJob=154326187

There is an unexpected-pass test. I will add a patch to bug 1423696.

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

⌛ Testing commit 7106877 with merge fad8ced...

@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: glennw
Pushing fad8ced to master...

@bors-servo bors-servo merged commit 7106877 into servo:master Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants