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

✨ amp-animation: add x(), y(), rescale by scope element's transform #28146

Merged
merged 14 commits into from May 7, 2020

Conversation

alanorozco
Copy link
Member

@alanorozco alanorozco commented Apr 30, 2020

Partial for #27758

  • Optionally calculates a scaling factor based on the scope element's transform (options.scaleByScope).

  • Introduces x() and y().

@amp-owners-bot
Copy link

amp-owners-bot bot commented Apr 30, 2020

Hey @newmuis, @Enriqe! These files were changed:

extensions/amp-story/1.0/animation.js
extensions/amp-story/1.0/test/test-animation.js

@alanorozco alanorozco changed the title ✨ amp-animation, add x(), y(), rescale by scope element's transform ✨ amp-animation: add x(), y(), rescale by scope element's transform Apr 30, 2020
extensions/amp-animation/0.1/parsers/css-expr-ast.js Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/parsers/css-expr-ast.js Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/parsers/css-expr-ast.js Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/parsers/css-expr-impl.jison Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/web-animations.js Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/web-animations.js Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/web-animations.js Outdated Show resolved Hide resolved
extensions/amp-story/1.0/animation.js Outdated Show resolved Hide resolved
Copy link
Contributor

@dvoytenko dvoytenko left a comment

Choose a reason for hiding this comment

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

LGTM with couple of nits.

extensions/amp-animation/0.1/parsers/css-expr-impl.jison Outdated Show resolved Hide resolved
extensions/amp-animation/0.1/web-animations.js Outdated Show resolved Hide resolved
@amp-bundle-size amp-bundle-size bot requested a review from rcebulko May 6, 2020 19:01
@rcebulko rcebulko removed their request for review May 6, 2020 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants