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

Unified Diff: third_party/polymer/components/neon-animation/animations/hero-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/hero-animation.html
diff --git a/third_party/polymer/components/neon-animation/animations/hero-animation.html b/third_party/polymer/components/neon-animation/animations/hero-animation.html
index a9075e138fd08e2503be6424ca3073feac6b5fdf..176bee789e86c566d87f182132992be7a8f11be8 100644
--- a/third_party/polymer/components/neon-animation/animations/hero-animation.html
+++ b/third_party/polymer/components/neon-animation/animations/hero-animation.html
@@ -57,15 +57,15 @@ Configuration:
var deltaWidth = fromRect.width / toRect.width;
var deltaHeight = fromRect.height / toRect.height;
- this.setPrefixedProperty(shared.to, 'transformOrigin', '0 0');
- shared.to.style.zIndex = 10000;
- shared.from.style.visibility = 'hidden';
-
this._effect = new KeyframeEffect(shared.to, [
{'transform': 'translate(' + deltaLeft + 'px,' + deltaTop + 'px) scale(' + deltaWidth + ',' + deltaHeight + ')'},
{'transform': 'none'}
], this.timingFromConfig(config));
+ this.setPrefixedProperty(shared.to, 'transformOrigin', '0 0');
+ shared.to.style.zIndex = 10000;
+ shared.from.style.visibility = 'hidden';
+
return this._effect;
},

Powered by Google App Engine
This is Rietveld 408576698