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

Issue 2843333002: WebUI: restrict cr-dialogs max-height to the viewport. (Closed)

Created:
3 years, 8 months ago by scottchen
Modified:
3 years, 7 months ago
Reviewers:
dpapad
CC:
chromium-reviews, dbeam+watch-elements_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebUI: restrict cr-dialogs max-height to the viewport. BUG=713663, 713548 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2843333002 Cr-Commit-Position: refs/heads/master@{#468722} Committed: https://chromium.googlesource.com/chromium/src/+/fc2f3e78a68e400ab08ab5f0396fb77428ea4860

Patch Set 1 #

Total comments: 2

Patch Set 2 : change to use CSS only #

Patch Set 3 : add a minimally reasonable height to body-container #

Patch Set 4 : change display to flex only for open dialog #

Patch Set 5 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -2 lines) Patch
M chrome/test/data/webui/cr_elements/cr_dialog_test.js View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
scottchen
3 years, 8 months ago (2017-04-27 05:00:58 UTC) #3
dpapad
https://codereview.chromium.org/2843333002/diff/1/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js File ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js (right): https://codereview.chromium.org/2843333002/diff/1/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js#newcode103 ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js:103: adjustHeight_: function() { Can we add a test for ...
3 years, 7 months ago (2017-04-27 22:33:24 UTC) #4
scottchen
after/before screenshot: http://imgur.com/a/QhtGZ https://codereview.chromium.org/2843333002/diff/1/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js File ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js (right): https://codereview.chromium.org/2843333002/diff/1/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js#newcode103 ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js:103: adjustHeight_: function() { On 2017/04/27 22:33:24, ...
3 years, 7 months ago (2017-04-28 23:12:56 UTC) #6
dpapad
LGTM. I am glad we landed on a CSS only solution for this. Just one ...
3 years, 7 months ago (2017-04-28 23:57:53 UTC) #7
scottchen
On 2017/04/28 23:57:53, dpapad wrote: > LGTM. I am glad we landed on a CSS ...
3 years, 7 months ago (2017-04-29 00:20:48 UTC) #8
dpapad
On 2017/04/29 at 00:20:48, scottchen wrote: > On 2017/04/28 23:57:53, dpapad wrote: > > LGTM. ...
3 years, 7 months ago (2017-05-01 18:31:46 UTC) #11
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/2843333002/60001
3 years, 7 months ago (2017-05-01 18:33:19 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/442793)
3 years, 7 months ago (2017-05-01 19:20:55 UTC) #15
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/2843333002/80001
3 years, 7 months ago (2017-05-02 18:22:05 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 18:52:26 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/fc2f3e78a68e400ab08ab5f0396f...

Powered by Google App Engine
This is Rietveld 408576698