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

Unified Diff: ui/login/display_manager.js

Issue 2535493002: Reduce webkit CSS prefixes in ui/ styles (Closed)
Patch Set: js 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: ui/login/display_manager.js
diff --git a/ui/login/display_manager.js b/ui/login/display_manager.js
index fb08fb33049b79996b259efefb63c862fa5967be..1c3df976574cd7530d46ae08bad96af52de3e735 100644
--- a/ui/login/display_manager.js
+++ b/ui/login/display_manager.js
@@ -100,7 +100,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;
@@ -535,8 +535,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')) {
@@ -562,8 +562,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']);

Powered by Google App Engine
This is Rietveld 408576698