|
|
Created:
4 years, 4 months ago by dschuyler Modified:
4 years, 4 months ago Reviewers:
Dan Beam CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org, michaelpg Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Description[MD settings] only add overscroll if needed.
This CL changes the overscroll padding so that it will be empty (zero
height) if no overscroll is needed to bring the selection to the top of
the window.
This Cl does not fix the overscroll during window resizing or hide the
overscroll when scrolling up. Those will be in a future CL.
BUG=631332
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/4570d5e8b6094ee45234dcf1ef12f984dcd55d6f
Cr-Commit-Position: refs/heads/master@{#408847}
Patch Set 1 #
Total comments: 1
Patch Set 2 : closure fix #
Total comments: 2
Patch Set 3 : described math #Messages
Total messages: 21 (14 generated)
Description was changed from ========== [MD settings] only add overscroll if needed. This CL changes the overscroll padding so that it will be empty (zero height) if no overscroll is needed to bring the selection to the top of the window. This Cl does not fix the overscroll during window resizing or hide the overscroll when scrolling up. Those will be in a future CL. BUG=631332 ========== to ========== [MD settings] only add overscroll if needed. This CL changes the overscroll padding so that it will be empty (zero height) if no overscroll is needed to bring the selection to the top of the window. This Cl does not fix the overscroll during window resizing or hide the overscroll when scrolling up. Those will be in a future CL. BUG=631332 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
The CQ bit was checked by dschuyler@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
dschuyler@chromium.org changed reviewers: + dbeam@chromium.org
https://codereview.chromium.org/2201553002/diff/1/chrome/browser/resources/se... File chrome/browser/resources/settings/settings_main/settings_main.js (right): https://codereview.chromium.org/2201553002/diff/1/chrome/browser/resources/se... chrome/browser/resources/settings/settings_main/settings_main.js:145: Polymer.dom.flush(); I moved this to keep all the timeout/flush ('is the dom ready to use?') code together.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compila...)
The CQ bit was checked by dschuyler@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2201553002/diff/20001/chrome/browser/resource... File chrome/browser/resources/settings/settings_main/settings_main.js (right): https://codereview.chromium.org/2201553002/diff/20001/chrome/browser/resource... chrome/browser/resources/settings/settings_main/settings_main.js:176: (topSection.offsetParent.offsetTop + topSection.offsetTop))); can you use some temporary variables so this statement is easier to understand?
The CQ bit was checked by dschuyler@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2201553002/diff/20001/chrome/browser/resource... File chrome/browser/resources/settings/settings_main/settings_main.js (right): https://codereview.chromium.org/2201553002/diff/20001/chrome/browser/resource... chrome/browser/resources/settings/settings_main/settings_main.js:176: (topSection.offsetParent.offsetTop + topSection.offsetTop))); On 2016/07/30 01:16:20, Dan Beam wrote: > can you use some temporary variables so this statement is easier to understand? Done.
lgtm /cc michaelpg@
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by dschuyler@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== [MD settings] only add overscroll if needed. This CL changes the overscroll padding so that it will be empty (zero height) if no overscroll is needed to bring the selection to the top of the window. This Cl does not fix the overscroll during window resizing or hide the overscroll when scrolling up. Those will be in a future CL. BUG=631332 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== [MD settings] only add overscroll if needed. This CL changes the overscroll padding so that it will be empty (zero height) if no overscroll is needed to bring the selection to the top of the window. This Cl does not fix the overscroll during window resizing or hide the overscroll when scrolling up. Those will be in a future CL. BUG=631332 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/4570d5e8b6094ee45234dcf1ef12f984dcd55d6f Cr-Commit-Position: refs/heads/master@{#408847} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/4570d5e8b6094ee45234dcf1ef12f984dcd55d6f Cr-Commit-Position: refs/heads/master@{#408847} |