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

Add support for transform-origin and perspective-origin in wrench. #2378

Merged
merged 1 commit into from Feb 5, 2018

Conversation

@glennw
Copy link
Member

glennw commented Feb 4, 2018

I added this for some perspective transform bugs I'll be working on
this week.

During that, I noticed that the output of the new perspective-origin
reftest is incorrect - I'll raise a separate bug for that.

I also modified the existing reftests that use perspective to
explicitly set the perspective origin to 0, so that their
behaviour is unaffected by this change. The default perspective
origin is set to 50% of the bounds, which is what the default
is in the CSS transforms spec.


This change is Reviewable

I added this for some perspective transform bugs I'll be working on
this week.

During that, I noticed that the output of the new perspective-origin
reftest is incorrect - I'll raise a separate bug for that.

I also modified the existing reftests that use perspective to
explicitly set the perspective origin to 0, so that their
behaviour is unaffected by this change. The default perspective
origin is set to 50% of the bounds, which is what the default
is in the CSS transforms spec.
@glennw glennw force-pushed the glennw:perspective-origin branch from 1c70765 to 7ed4532 Feb 5, 2018
@mrobinson
Copy link
Member

mrobinson commented Feb 5, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2018

📌 Commit 7ed4532 has been approved by mrobinson

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2018

Testing commit 7ed4532 with merge 98d8d71...

bors-servo added a commit that referenced this pull request Feb 5, 2018
Add support for transform-origin and perspective-origin in wrench.

I added this for some perspective transform bugs I'll be working on
this week.

During that, I noticed that the output of the new perspective-origin
reftest is incorrect - I'll raise a separate bug for that.

I also modified the existing reftests that use perspective to
explicitly set the perspective origin to 0, so that their
behaviour is unaffected by this change. The default perspective
origin is set to 50% of the bounds, which is what the default
is in the CSS transforms spec.

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

bors-servo commented Feb 5, 2018

☀️ Test successful - status-appveyor, status-taskcluster, status-travis
Approved by: mrobinson
Pushing 98d8d71 to master...

@bors-servo bors-servo merged commit 7ed4532 into servo:master Feb 5, 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.