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

Unified Diff: chrome/browser/resources/history/history.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 | « chrome/browser/resources/history/history.css ('k') | chrome/browser/resources/history/history_mobile.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index 612c9a11486815cfc47cbba6832effd47939c68f..5da3eaca257a8ac023169c934824522ce326383b 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -1772,7 +1772,7 @@ HistoryView.prototype.toggleGroupedVisits_ = function(e) {
} else {
innerResultList.setAttribute('aria-hidden', 'false');
innerResultList.style.height = 'auto';
- // -webkit-transition does not work on height:auto elements so first set
+ // transition does not work on height:auto elements so first set
// the height to auto so that it is computed and then set it to the
// computed value in pixels so the transition works properly.
var height = innerResultList.clientHeight;
@@ -2331,7 +2331,7 @@ function removeNode(node, onRemove, opt_scope) {
node.classList.add('fade-out'); // Trigger CSS fade out animation.
// Delete the node when the animation is complete.
- node.addEventListener('webkitTransitionEnd', function(e) {
+ node.addEventListener('transitionend', function(e) {
node.parentNode.removeChild(node);
// In case there is nested deletion happening, prevent this event from
« no previous file with comments | « chrome/browser/resources/history/history.css ('k') | chrome/browser/resources/history/history_mobile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698