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 2073703002: MD History: Simplify flex layout in <history-list> (Closed)

Created:
4 years, 6 months ago by tsergeant
Modified:
4 years, 3 months ago
Reviewers:
calamity, Dan Beam
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Simplify flex layout MD History was using flexbox where it was not required, resulting in a significant performance regression following crbug.com/397888. This CL simplifies the layout to workaround this regression, replacing flex layout with block layout in history.html, <history-app>, and <history-list>. Also changes the amount of padding at the top of the list, per feedback from UI. BUG=618153 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/07a903c7055b1d2bf30d33f383c188418bc3cd50 Cr-Commit-Position: refs/heads/master@{#401168}

Patch Set 1 #

Patch Set 2 : Remove flex usage from app and history.html #

Total comments: 1

Patch Set 3 : Fix height of #main-container #

Total comments: 2

Patch Set 4 : Review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -52 lines) Patch
M chrome/browser/resources/md_history/app.html View 1 2 2 chunks +15 lines, -14 lines 1 comment Download
M chrome/browser/resources/md_history/app.js View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/grouped_list.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/history.html View 1 2 2 chunks +24 lines, -18 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.html View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.js View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.html View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/shared_style.html View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/side_bar.html View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/synced_device_manager.html View 1 2 1 chunk +14 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
tsergeant
4 years, 6 months ago (2016-06-16 07:56:57 UTC) #3
tsergeant
I've substantially updated this CL to tackle all of the layout issues in one go. ...
4 years, 6 months ago (2016-06-20 01:48:15 UTC) #5
calamity
https://codereview.chromium.org/2073703002/diff/100001/chrome/browser/resources/md_history/shared_style.html File chrome/browser/resources/md_history/shared_style.html (right): https://codereview.chromium.org/2073703002/diff/100001/chrome/browser/resources/md_history/shared_style.html#newcode14 chrome/browser/resources/md_history/shared_style.html:14: --toolbar-height: 56px; Changing these won't change the toolbar height ...
4 years, 6 months ago (2016-06-21 08:18:00 UTC) #10
tsergeant
https://codereview.chromium.org/2073703002/diff/100001/chrome/browser/resources/md_history/shared_style.html File chrome/browser/resources/md_history/shared_style.html (right): https://codereview.chromium.org/2073703002/diff/100001/chrome/browser/resources/md_history/shared_style.html#newcode14 chrome/browser/resources/md_history/shared_style.html:14: --toolbar-height: 56px; On 2016/06/21 08:18:00, calamity wrote: > Changing ...
4 years, 6 months ago (2016-06-22 01:13:45 UTC) #11
calamity
lgtm
4 years, 6 months ago (2016-06-22 01:17:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073703002/120001
4 years, 6 months ago (2016-06-22 01:28:34 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 6 months ago (2016-06-22 02:19:50 UTC) #15
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/07a903c7055b1d2bf30d33f383c188418bc3cd50 Cr-Commit-Position: refs/heads/master@{#401168}
4 years, 6 months ago (2016-06-22 02:23:45 UTC) #17
Dan Beam
4 years, 3 months ago (2016-08-23 21:01:18 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2073703002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/md_history/app.html (right):

https://codereview.chromium.org/2073703002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/md_history/app.html:43: float: left;
this doesn't flip in RTL in case you thought it would

Powered by Google App Engine
This is Rietveld 408576698