Skip to content

Conversation

darrnshn
Copy link
Collaborator

Fixes #609 .

Hi @tabatkins , PTAL

@darrnshn darrnshn requested a review from tabatkins January 31, 2018 00:13
2. Set |matrix| to the result of multiplying |matrix|
and |funcMatrix|.
3. If |func|’s {{CSSTransformComponent/is2D}} internal slot is `false`,
and the matrix represented by |funcMatrix|.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I just multiply two DOMMatrix together and will it correctly handle is2D?

@tabatkins
Copy link
Member

Slightly rewrote to simplify is2D handling.

To answer your comment: yes, DOMMatrix multiplication automatically handles is2D for you. I was doing manual handling of is2D before because I was working with abstract matrixes instead.

@tabatkins tabatkins merged commit 72d9e39 into w3c:master Jan 31, 2018
@darrnshn darrnshn changed the title Add CSSTransformComponent.is2D Add CSSTransformComponent.toMatrix Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants