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

Implement clipping for `border-radius` for solid colors and images. #13

Merged
merged 1 commit into from Oct 10, 2015

Conversation

@pcwalton
Copy link
Collaborator

pcwalton commented Oct 9, 2015

Known issues:

  • Gradients are not clipped yet because they need full
    Sutherland-Hodgman clipping.
  • Clipping won't work right if borders do not have all the same size.
  • Clipping won't work right when multiple rounded borders intersect one
    another.
  • There are some known extraneous polygons when an actual border is
    present and something inside is clipped.
  • Clipping doesn't work right for overflow: hidden. (This is a Servo
    bug.)
Known issues:

* Gradients are not clipped yet because they need full
  Sutherland-Hodgman clipping.

* Clipping won't work right if borders do not have all the same size.

* Clipping won't work right when multiple rounded borders intersect one
  another.

* There are some known extraneous polygons when an actual border is
  present and something inside is clipped.

* Clipping doesn't work right for `overflow: hidden`. (This is a Servo
  bug.)
glennw added a commit that referenced this pull request Oct 10, 2015
Implement clipping for `border-radius` for solid colors and images.
@glennw glennw merged commit ccad2e4 into servo:master Oct 10, 2015
pcwalton pushed a commit to pcwalton/webrender that referenced this pull request Jul 20, 2016
Add infrastructure for 3d transforms in alpha strategy.
nox pushed a commit to nox/webrender that referenced this pull request Aug 6, 2016
Support for fixed layer per iframe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

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