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

Unified Diff: ui/webui/resources/js/cr/ui/page_manager/page.js

Issue 2535493002: Reduce webkit CSS prefixes in ui/ styles (Closed)
Patch Set: bluetooth_internals/snackbar.js Created 3 years, 10 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
« no previous file with comments | « ui/webui/resources/js/cr/ui/overlay.js ('k') | ui/webui/resources/js/util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/page_manager/page.js
diff --git a/ui/webui/resources/js/cr/ui/page_manager/page.js b/ui/webui/resources/js/cr/ui/page_manager/page.js
index bf5117e8f82a2ee27b17229af74b98dfbe1bed16..5512e60a53c21346f36c7c7b1fecc64fcc202427 100644
--- a/ui/webui/resources/js/cr/ui/page_manager/page.js
+++ b/ui/webui/resources/js/cr/ui/page_manager/page.js
@@ -241,17 +241,17 @@ cr.define('cr.ui.pageManager', function() {
var loading = PageManager.isLoading();
if (!loading) {
// TODO(flackr): Use an event delegate to avoid having to subscribe and
- // unsubscribe for webkitTransitionEnd events.
- container.addEventListener('webkitTransitionEnd', function f(e) {
+ // unsubscribe for transitionend events.
+ container.addEventListener('transitionend', function f(e) {
var propName = e.propertyName;
if (e.target != e.currentTarget ||
(propName && propName != 'opacity')) {
return;
}
- container.removeEventListener('webkitTransitionEnd', f);
+ container.removeEventListener('transitionend', f);
self.fadeCompleted_();
});
- // -webkit-transition is 200ms. Let's wait for 400ms.
+ // transition is 200ms. Let's wait for 400ms.
ensureTransitionEndEvent(container, 400);
}
@@ -260,7 +260,7 @@ cr.define('cr.ui.pageManager', function() {
pageDiv.hidden = false;
pageDiv.page = this;
// NOTE: This is a hacky way to force the container to layout which
- // will allow us to trigger the webkit transition.
+ // will allow us to trigger the transition.
/** @suppress {uselessCode} */
container.scrollTop;
« no previous file with comments | « ui/webui/resources/js/cr/ui/overlay.js ('k') | ui/webui/resources/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698