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

Unified Diff: ui/login/account_picker/user_pod_row.js

Issue 2691883002: Uprefix CSS transitions in ui/ and chrome/ styles (Closed)
Patch Set: transitions only 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/login/account_picker/user_pod_row.css ('k') | ui/login/bubble.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index 205aaac0ff4bff04f04e842bb37c5d82d67a61ff..c52ccfa36948317df4a453d3197ba3dc7e0dd191 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -2034,8 +2034,8 @@ cr.define('login', function() {
var self = this;
this.classList.add('animating');
- this.addEventListener('webkitTransitionEnd', function f(e) {
- self.removeEventListener('webkitTransitionEnd', f);
+ this.addEventListener('transitionend', function f(e) {
+ self.removeEventListener('transitionend', f);
self.classList.remove('animating');
// Accessibility focus indicator does not move with the focused
@@ -2248,9 +2248,9 @@ cr.define('login', function() {
setTimeout(function() {
pod.classList.add('advanced');
pod.makeSpaceForExpandedPod_();
- languageAndInputSection.addEventListener('webkitTransitionEnd',
+ languageAndInputSection.addEventListener('transitionend',
function observer() {
- languageAndInputSection.removeEventListener('webkitTransitionEnd',
+ languageAndInputSection.removeEventListener('transitionend',
observer);
pod.classList.remove('transitioning-to-advanced');
pod.querySelector('.language-select').focus();
@@ -3666,8 +3666,8 @@ cr.define('login', function() {
if (focusedPod) {
var screen = this.parentNode;
var self = this;
- focusedPod.addEventListener('webkitTransitionEnd', function f(e) {
- focusedPod.removeEventListener('webkitTransitionEnd', f);
+ focusedPod.addEventListener('transitionend', function f(e) {
+ focusedPod.removeEventListener('transitionend', f);
focusedPod.reset(true);
// Notify screen that it is ready.
screen.onShow();
« no previous file with comments | « ui/login/account_picker/user_pod_row.css ('k') | ui/login/bubble.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698