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

Correctly handle the inset box shadow offset. #2285

Merged
merged 1 commit into from Jan 15, 2018

Conversation

demo99
Copy link
Contributor

@demo99 demo99 commented Jan 11, 2018

If the blur radius is larger than offset size, we should still see the blur on the edge. But currently, the brush will be clipped after moving. So I enlarge the brush rect and picture rect to fix this problem.
It fixes gecko bug 1429411.
gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5291c42ee1c846566c98e6a33b6b9e1270bea3c2&selectedJob=155567986
There is a failure and the fuzz value should be changed to (6,8936) from (6,8490). I think it should be fine.
r? @glennw


This change is Reviewable

@glennw
Copy link
Member

glennw commented Jan 11, 2018

Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit b94b57e has been approved by glennw

@bors-servo
Copy link
Contributor

⌛ Testing commit b94b57e with merge eff1696...

bors-servo pushed a commit that referenced this pull request Jan 14, 2018
Correctly handle the inset box shadow offset.

If the blur radius is larger than offset size, we should still see the blur on the edge. But currently, the brush will be clipped after moving. So I enlarge the brush rect and picture rect to fix this problem.
It fixes gecko [bug 1429411](https://bugzilla.mozilla.org/show_bug.cgi?id=1429411).
gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5291c42ee1c846566c98e6a33b6b9e1270bea3c2&selectedJob=155567986
There is a failure and the fuzz value should be changed to (6,8936) from (6,8490). I think it should be fine.
r? @glennw

<!-- 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/2285)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - status-travis

@glennw
Copy link
Member

glennw commented Jan 14, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit b94b57e with merge dcabafc...

bors-servo pushed a commit that referenced this pull request Jan 14, 2018
Correctly handle the inset box shadow offset.

If the blur radius is larger than offset size, we should still see the blur on the edge. But currently, the brush will be clipped after moving. So I enlarge the brush rect and picture rect to fix this problem.
It fixes gecko [bug 1429411](https://bugzilla.mozilla.org/show_bug.cgi?id=1429411).
gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5291c42ee1c846566c98e6a33b6b9e1270bea3c2&selectedJob=155567986
There is a failure and the fuzz value should be changed to (6,8936) from (6,8490). I think it should be fine.
r? @glennw

<!-- 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/2285)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - status-travis

@glennw
Copy link
Member

glennw commented Jan 14, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit b94b57e with merge 0ab911a...

bors-servo pushed a commit that referenced this pull request Jan 15, 2018
Correctly handle the inset box shadow offset.

If the blur radius is larger than offset size, we should still see the blur on the edge. But currently, the brush will be clipped after moving. So I enlarge the brush rect and picture rect to fix this problem.
It fixes gecko [bug 1429411](https://bugzilla.mozilla.org/show_bug.cgi?id=1429411).
gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5291c42ee1c846566c98e6a33b6b9e1270bea3c2&selectedJob=155567986
There is a failure and the fuzz value should be changed to (6,8936) from (6,8490). I think it should be fine.
r? @glennw

<!-- 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/2285)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

⌛ Testing commit b94b57e with merge af25d6e...

bors-servo pushed a commit that referenced this pull request Jan 15, 2018
Correctly handle the inset box shadow offset.

If the blur radius is larger than offset size, we should still see the blur on the edge. But currently, the brush will be clipped after moving. So I enlarge the brush rect and picture rect to fix this problem.
It fixes gecko [bug 1429411](https://bugzilla.mozilla.org/show_bug.cgi?id=1429411).
gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5291c42ee1c846566c98e6a33b6b9e1270bea3c2&selectedJob=155567986
There is a failure and the fuzz value should be changed to (6,8936) from (6,8490). I think it should be fine.
r? @glennw

<!-- 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/2285)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - status-travis

bors-servo pushed a commit that referenced this pull request Jan 15, 2018
Correctly handle the inset box shadow offset.

If the blur radius is larger than offset size, we should still see the blur on the edge. But currently, the brush will be clipped after moving. So I enlarge the brush rect and picture rect to fix this problem.
It fixes gecko [bug 1429411](https://bugzilla.mozilla.org/show_bug.cgi?id=1429411).
gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5291c42ee1c846566c98e6a33b6b9e1270bea3c2&selectedJob=155567986
There is a failure and the fuzz value should be changed to (6,8936) from (6,8490). I think it should be fine.
r? @glennw

<!-- 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/2285)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

⌛ Testing commit b94b57e with merge e582ec8...

@larsbergstrom
Copy link
Contributor

Manually merging to unblock team during testing/ops issues.

@larsbergstrom larsbergstrom merged commit e16c248 into servo:master Jan 15, 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.

None yet

4 participants