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

Issue 2230123002: MD Settings: fix collapse animation once and for all (Closed)

Created:
4 years, 4 months ago by michaelpg
Modified:
4 years, 3 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@Overscroll2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: fix collapse animation once and for all Makes the collapsing card position: absolute (instead of fixed). Anchoring it to the section makes it actually follow the section, so it always moves toward the right position even if the containter's scroll/height/size changes. Should reduce jarring jumps at the end of transitions. Also moves the style changes into Web Animations instead of inline. This makes the animations fire-and-forget. Transition clean up is largely automatic, there are no styles to (forget to) remove (at the wrong time). If a transition is buggy, we're still likely to end up in the right place. This fixes several animation bugs (but likely introduces new ones). BUG=589681, 621245, 622172 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/6c4ce51ea1886af904821bdd1dd0d6d3e6932d6f Cr-Commit-Position: refs/heads/master@{#414289}

Patch Set 1 #

Patch Set 2 : for review #

Total comments: 2

Patch Set 3 : Fix expand on startup due to undefined blink behavior #

Patch Set 4 : newlines #

Patch Set 5 : logging #

Patch Set 6 : FREEZE.unindexed #

Patch Set 7 : more logging #

Patch Set 8 : more logging #

Patch Set 9 : Fix ASAN error #

Patch Set 10 : laorechlraocehlracouerl #

Patch Set 11 : ncgdo.ikrcd;rcgdqkcrg.dpcrgadu #

Patch Set 12 : peoplehandlerlogging #

Patch Set 13 : nuke it #

Patch Set 14 : jsdoc #

Patch Set 15 : jsdoc #

Patch Set 16 : fix subpage height #

Patch Set 17 : asan not msan #

Patch Set 18 : rebase #

Patch Set 19 : rebase, rebase fix (doWhenReady) #

Messages

Total messages: 50 (29 generated)
michaelpg
PTAL.
4 years, 4 months ago (2016-08-15 20:08:38 UTC) #4
Dan Beam
i either agreed with all of this code or didn't understand it either way, lgtm! ...
4 years, 4 months ago (2016-08-17 03:01:03 UTC) #5
michaelpg
On 2016/08/17 03:01:03, Dan Beam wrote: > i either agreed with all of this code ...
4 years, 4 months ago (2016-08-18 18:01:31 UTC) #6
michaelpg
https://codereview.chromium.org/2230123002/diff/40001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2230123002/diff/40001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode162 chrome/browser/resources/settings/settings_page/main_page_behavior.js:162: finished = true; On 2016/08/17 03:01:02, Dan Beam wrote: ...
4 years, 4 months ago (2016-08-19 21:55:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/100001
4 years, 4 months ago (2016-08-19 21:55:44 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/213073)
4 years, 4 months ago (2016-08-20 00:31:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/100001
4 years, 4 months ago (2016-08-20 00:59:45 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/213113)
4 years, 4 months ago (2016-08-20 03:14:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/300001
4 years, 4 months ago (2016-08-23 19:49:27 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/320001
4 years, 4 months ago (2016-08-23 20:15:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/340001
4 years, 4 months ago (2016-08-23 20:44:47 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/214554)
4 years, 4 months ago (2016-08-23 23:39:41 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/360001
4 years, 4 months ago (2016-08-24 18:36:14 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/57730) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-24 18:39:23 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/380001
4 years, 4 months ago (2016-08-24 20:26:14 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/117695) chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 4 months ago (2016-08-24 20:30:08 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/400001
4 years, 4 months ago (2016-08-24 22:16:25 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/280507)
4 years, 4 months ago (2016-08-25 01:08:54 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230123002/400001
4 years, 4 months ago (2016-08-25 02:14:06 UTC) #47
commit-bot: I haz the power
Committed patchset #19 (id:400001)
4 years, 3 months ago (2016-08-25 03:29:27 UTC) #48
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 03:33:09 UTC) #50
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/6c4ce51ea1886af904821bdd1dd0d6d3e6932d6f
Cr-Commit-Position: refs/heads/master@{#414289}

Powered by Google App Engine
This is Rietveld 408576698