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

Ensure that non-local clips are defaulted to be in the clip mask. #2964

Merged
merged 1 commit into from Aug 10, 2018

Conversation

@gw3583
Copy link
Collaborator

gw3583 commented Aug 10, 2018

If we can't calculate a local space rect for the clip, due to
perspective weirdness, just assume that it should be in the
clip mask, for now.


This change is Reviewable

If we can't calculate a local space rect for the clip, due to
perspective weirdness, just assume that it should be in the
clip mask, for now.
@gw3583
Copy link
Collaborator Author

gw3583 commented Aug 10, 2018

@nical
nical approved these changes Aug 10, 2018
@kvark
Copy link
Member

kvark commented Aug 10, 2018

just assume that it should be in the clip mask, for now.

Would be good to have some sort of an assert or at least a reminder to do that

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Aug 10, 2018

📌 Commit 5ec9cc5 has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Aug 10, 2018

Testing commit 5ec9cc5 with merge cf3f0b4...

bors-servo added a commit that referenced this pull request Aug 10, 2018
Ensure that non-local clips are defaulted to be in the clip mask.

If we can't calculate a local space rect for the clip, due to
perspective weirdness, just assume that it should be in the
clip mask, for now.

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

bors-servo commented Aug 10, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: kvark
Pushing cf3f0b4 to master...

@bors-servo bors-servo merged commit 5ec9cc5 into servo:master Aug 10, 2018
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
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

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