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

Radius inside radius doesn't work anymore #241

Closed
paulrouget opened this issue Mar 16, 2016 · 0 comments
Closed

Radius inside radius doesn't work anymore #241

paulrouget opened this issue Mar 16, 2016 · 0 comments

Comments

@paulrouget
Copy link
Collaborator

@paulrouget paulrouget commented Mar 16, 2016

This used to work.

Maybe it's a regression due to servo/servo#9810

screen shot 2016-03-16 at 09 55 56

<style>
  .green {
    overflow: hidden;
    border-radius: 50px;
    background: green;
    padding: 50px;
  }

  .red {
    background: red;
    border-radius: 50%;
    width: 100px;
    height: 100px
  }
</style>

<div class="green">
  <div class="red"></div>
</div>
pcwalton added a commit to pcwalton/servo that referenced this issue Apr 1, 2016
This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.

Closes servo/webrender#241.
bors-servo added a commit to servo/servo that referenced this issue Apr 1, 2016
…glennw

gfx: Simplify complex clipping regions as we construct them.

This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.

Closes servo/webrender#241.

r? @glennw

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10331)
<!-- Reviewable:end -->
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 1, 2019
…nstruct them (from pcwalton:simplify-complex-clipping-regions); r=glennw

This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.

Closes servo/webrender#241.

r? glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e215177962a50f1cfd9f21d95ecfd3a76a31602

UltraBlame original commit: d6fb6115f3f8d364822ec1d424eebf6ecda89ec7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 1, 2019
…nstruct them (from pcwalton:simplify-complex-clipping-regions); r=glennw

This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.

Closes servo/webrender#241.

r? glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e215177962a50f1cfd9f21d95ecfd3a76a31602

UltraBlame original commit: d6fb6115f3f8d364822ec1d424eebf6ecda89ec7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 1, 2019
…nstruct them (from pcwalton:simplify-complex-clipping-regions); r=glennw

This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.

Closes servo/webrender#241.

r? glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e215177962a50f1cfd9f21d95ecfd3a76a31602

UltraBlame original commit: d6fb6115f3f8d364822ec1d424eebf6ecda89ec7
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
1 participant
You can’t perform that action at this time.