Skip to content

SVG transforms now complete when fill=none #606

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

Merged
merged 1 commit into from
Jun 13, 2014
Merged

SVG transforms now complete when fill=none #606

merged 1 commit into from
Jun 13, 2014

Conversation

ewilligers
Copy link
Contributor

The transforms previously remained in effect, as if the page author had
requested fill=forwards

https://github.com/web-animations/web-animations-js/issues/605

<svg width="600px" height="200px">
<rect class="expectation" x="190px" y="60px" width="120px" height="120px">
</rect>
<rect class="anim" x="10px" y="10px" width="20px" height="20px" transform="none"></rect>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without transform=none, the animation is still observed to not fill forwards, but the tests fail with transform='null' at times 1_1000 and 1.2_1000

The transforms previously remained in effect, as if the page author had
requested fill=forwards

https://github.com/web-animations/web-animations-js/issues/605
@alancutter
Copy link
Contributor

lgtm

ewilligers added a commit that referenced this pull request Jun 13, 2014
SVG transforms now complete when fill=none
@ewilligers ewilligers merged commit c05aaf8 into web-animations:master Jun 13, 2014
@ewilligers ewilligers deleted the svg-transform branch June 13, 2014 03:11
alancutter added a commit to alancutter/web-animations-js-legacy that referenced this pull request Jun 13, 2014
…nsform"

This reverts commit c05aaf8, reversing
changes made to 510c269.
alancutter added a commit that referenced this pull request Jun 15, 2014
Revert "Merge pull request #606 from ewilligers/svg-transform"
ewilligers referenced this pull request in ewilligers/smil-in-javascript Jul 7, 2014
We will build our SVG SMIL animation implementation on top of the
original Web Animations Polyfill.

The only current difference between this implementation and
https://github.com/web-animations/ is that we have 'transform' declared
as an SVG attribute, using change
https://github.com/web-animations/web-animations-js/pull/606
(which was reverted on the main repository as it affects CSS animations
that use the transform attribute).
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.

3 participants