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

Unified Diff: ui/login/display_manager.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/bubble.js ('k') | ui/login/oobe.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/display_manager.js
diff --git a/ui/login/display_manager.js b/ui/login/display_manager.js
index 6b251e371623246317a2d2b0fd27db614f24a6a4..11bab75516500239174953b436e092f1fd237155 100644
--- a/ui/login/display_manager.js
+++ b/ui/login/display_manager.js
@@ -104,7 +104,7 @@ cr.define('cr.ui.login', function() {
* The value is used as the duration for ensureTransitionEndEvent below.
* It needs to be inline with the step screen transition duration time
* defined in css file. The current value in css is 200ms. To avoid emulated
- * webkitTransitionEnd fired before real one, 250ms is used.
+ * transitionend fired before real one, 250ms is used.
* @const
*/
var MAX_SCREEN_TRANSITION_DURATION = 250;
@@ -539,8 +539,8 @@ cr.define('cr.ui.login', function() {
!oldStep.classList.contains('hidden')) {
if (oldStep.classList.contains('animated')) {
innerContainer.classList.add('animation');
- oldStep.addEventListener('webkitTransitionEnd', function f(e) {
- oldStep.removeEventListener('webkitTransitionEnd', f);
+ oldStep.addEventListener('transitionend', function f(e) {
+ oldStep.removeEventListener('transitionend', f);
if (oldStep.classList.contains('faded') ||
oldStep.classList.contains('left') ||
oldStep.classList.contains('right')) {
@@ -566,8 +566,8 @@ cr.define('cr.ui.login', function() {
if (this.isOobeUI() && innerContainer.classList.contains('down')) {
innerContainer.classList.remove('down');
innerContainer.addEventListener(
- 'webkitTransitionEnd', function f(e) {
- innerContainer.removeEventListener('webkitTransitionEnd', f);
+ 'transitionend', function f(e) {
+ innerContainer.removeEventListener('transitionend', f);
outerContainer.classList.remove('down');
$('progress-dots').classList.remove('down');
chrome.send('loginVisible', ['oobe']);
« no previous file with comments | « ui/login/bubble.js ('k') | ui/login/oobe.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698