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

Rewrite much of the clipper to support rounded border corners in fuller generality and fix some bugs. #46

Merged
merged 1 commit into from Oct 21, 2015

Conversation

@pcwalton
Copy link
Collaborator

pcwalton commented Oct 21, 2015

Allows gradients to be clipped to rounded border corners, improving the look of
rounded elements' backgrounds.

The clipper no longer takes mask texture coordinates as input, although it
still supplies them as output. This is because it may need to manufacture mask
texture coordinates for rounded corner alpha masks. We were never relying on
this feature for anything, so it does not cause a problem.

generality and fix some bugs.

Allows gradients to be clipped to rounded border corners, improving the look of
rounded elements' backgrounds.

The clipper no longer takes mask texture coordinates as input, although it
still supplies them as output. This is because it may need to manufacture mask
texture coordinates for rounded corner alpha masks. We were never relying on
this feature for anything, so it does not cause a problem.
@glennw
Copy link
Member

glennw commented Oct 21, 2015

Nice!

glennw added a commit that referenced this pull request Oct 21, 2015
Rewrite much of the clipper to support rounded border corners in fuller generality and fix some bugs.
@glennw glennw merged commit c28b38a into servo:master Oct 21, 2015
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.