Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: third_party/polymer/components/neon-animation/animations/transform-animation.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components/neon-animation/animations/transform-animation.html
diff --git a/third_party/polymer/components/neon-animation/animations/transform-animation.html b/third_party/polymer/components/neon-animation/animations/transform-animation.html
index f5963ed05fef826149cd82df1dc78ea2e0b01a59..2e5044422ef611a00b501fb0592d28db405ab623 100644
--- a/third_party/polymer/components/neon-animation/animations/transform-animation.html
+++ b/third_party/polymer/components/neon-animation/animations/transform-animation.html
@@ -53,15 +53,15 @@ Configuration:
var transformFrom = config.transformFrom || 'none';
var transformTo = config.transformTo || 'none';
- if (config.transformOrigin) {
- this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
- }
-
this._effect = new KeyframeEffect(node, [
{'transform': transformFrom},
{'transform': transformTo}
], this.timingFromConfig(config));
+ if (config.transformOrigin) {
+ this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
+ }
+
return this._effect;
}

Powered by Google App Engine
This is Rietveld 408576698