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

Unified Diff: chrome/browser/resources/print_preview/common/overlay.js

Issue 2535573002: Reduce usage of webkit CSS prefixes in chrome/browser/resources (Closed)
Patch Set: CSSOM Created 4 years, 1 month 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: chrome/browser/resources/print_preview/common/overlay.js
diff --git a/chrome/browser/resources/print_preview/common/overlay.js b/chrome/browser/resources/print_preview/common/overlay.js
index 4585dd64ae13a19e50a4addfae28fbac4cc04a78..6705ca3abaa7dbebbccbb9f4b705a560d47b646a 100644
--- a/chrome/browser/resources/print_preview/common/overlay.js
+++ b/chrome/browser/resources/print_preview/common/overlay.js
@@ -31,7 +31,7 @@ cr.define('print_preview', function() {
enterDocument: function() {
print_preview.Component.prototype.enterDocument.call(this);
- this.getElement().addEventListener('webkitTransitionEnd', function f(e) {
+ this.getElement().addEventListener('transitionend', function f(e) {
if (e.target == e.currentTarget && e.propertyName == 'opacity' &&
e.target.classList.contains('transparent')) {
setIsVisible(e.target, false);
@@ -67,7 +67,7 @@ cr.define('print_preview', function() {
this.getElement(), 'click', this.onOverlayClick_.bind(this));
this.tracker.add(
this.getChildElement('.page'),
- 'webkitAnimationEnd',
+ 'animationend',
this.onAnimationEnd_.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698