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

Unified Diff: third_party/polymer/components/neon-animation/animations/scale-up-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/scale-up-animation.html
diff --git a/third_party/polymer/components/neon-animation/animations/scale-up-animation.html b/third_party/polymer/components/neon-animation/animations/scale-up-animation.html
index b5164f7fe1dc5231346cfdb4fea39d17e8b84c96..42ec3f3228ff1880232c861ef11b9b6946b005f0 100644
--- a/third_party/polymer/components/neon-animation/animations/scale-up-animation.html
+++ b/third_party/polymer/components/neon-animation/animations/scale-up-animation.html
@@ -41,10 +41,6 @@ Configuration:
configure: function(config) {
var node = config.node;
- if (config.transformOrigin) {
- this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
- }
-
var scaleProperty = 'scale(0)';
if (config.axis === 'x') {
scaleProperty = 'scale(0, 1)';
@@ -57,6 +53,10 @@ Configuration:
{'transform': 'scale(1, 1)'}
], this.timingFromConfig(config));
+ if (config.transformOrigin) {
+ this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
+ }
+
return this._effect;
}

Powered by Google App Engine
This is Rietveld 408576698