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

Box-shadows with blur render incorrectly if there are opposite rounded corners whose bounding boxes overlap #2179

Closed
mstange opened this issue Dec 6, 2017 · 0 comments

Comments

@mstange
Copy link
Contributor

@mstange mstange commented Dec 6, 2017

https://bugzilla.mozilla.org/show_bug.cgi?id=1423683

Testcase

Actual vs expected results:
screen shot 2017-12-06 at 1 59 59 pm

---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1000, 1000]
      items:
        - type: box-shadow
          bounds: [ 0, 0, 200, 200 ]
          color: red
          clip-mode: outset
          offset: 200 0
          blur-radius: 1
          spread-radius: 0
          border-radius:
            top-left: [100, 100]
            top-right: [0, 0]
            bottom-left: [0, 0]
            bottom-right: [150, 150]
glennw pushed a commit to glennw/webrender that referenced this issue Dec 15, 2017
glennw pushed a commit to glennw/webrender that referenced this issue Dec 15, 2017
bors-servo added a commit that referenced this issue Dec 18, 2017
Fix box shadows when the shadow rect is smaller than the nine-patch.

Fixes #2180.
Fixes #2179.

<!-- 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/2229)
<!-- Reviewable:end -->
GuanWen-Chen added a commit to GuanWen-Chen/webrender that referenced this issue Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.