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

Issue 1525953002: Fix flaky logo spin animation restart logic (Closed)

Created:
5 years ago by alancutter (OOO until 2018)
Modified:
4 years, 12 months ago
CC:
arv+watch_chromium.org, chromium-reviews, dstockwell, loyso (OOO), samli, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flaky logo spin animation restart logic This change updates the click handler for the Chrome logo in the help page to force a style recalc between removing the "spin" class and adding it back again. This ensures that any running animations are cancelled and a new animation starts. Previously the code was relying on setTimeout() to wait for a style recalc which was never guaranteed thus the animation would not always restart. BUG=568485 Committed: https://crrev.com/b1bad612c1806c51985dd1b5220b053882ab21f0 Cr-Commit-Position: refs/heads/master@{#365242} Committed: https://crrev.com/27488e4a2d0e56e8e193df0e4c1e4792972d0c32 Cr-Commit-Position: refs/heads/master@{#365440}

Patch Set 1 #

Patch Set 2 : Add warning suppression #

Patch Set 3 : Call getter instead of reading property #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/resources/help/help_page.js View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 25 (11 generated)
alancutter (OOO until 2018)
5 years ago (2015-12-15 04:46:54 UTC) #3
samli
lgtm
5 years ago (2015-12-15 04:47:40 UTC) #5
alancutter (OOO until 2018)
Looks like dbeam is OOO for a while. +bauerb are you able to review this ...
5 years ago (2015-12-15 05:02:30 UTC) #7
Bernhard Bauer
lgtm
5 years ago (2015-12-15 11:57:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525953002/1
5 years ago (2015-12-15 13:15:37 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-15 14:03:29 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b1bad612c1806c51985dd1b5220b053882ab21f0 Cr-Commit-Position: refs/heads/master@{#365242}
5 years ago (2015-12-15 14:04:31 UTC) #13
alancutter (OOO until 2018)
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1530773002/ by alancutter@chromium.org. ...
5 years ago (2015-12-15 23:14:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525953002/40001
5 years ago (2015-12-16 00:26:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on ...
5 years ago (2015-12-16 02:31:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525953002/40001
5 years ago (2015-12-16 02:44:57 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-16 04:21:15 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/27488e4a2d0e56e8e193df0e4c1e4792972d0c32 Cr-Commit-Position: refs/heads/master@{#365440}
5 years ago (2015-12-16 04:22:19 UTC) #24
Dan Beam
4 years, 12 months ago (2015-12-29 01:13:51 UTC) #25
Message was sent while issue was closed.
lgtm!

Powered by Google App Engine
This is Rietveld 408576698