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

Issue 2206363003: [MD History] Use proper shadows for cards. (Closed)

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

Description

[MD History] Use proper shadows for cards. This CL adds proper shadows to the MD History cards in all views by adding a drop shadow filter on the history-list and box shadows on the history-grouped-list and synced-device-card. In order to prevent the scrollbars from rendering shadows, the scroll behavior of the history-list has been changed to use the iron list as a scroll target. A background div has been added to each history-item which is 1px taller than the actual item in order to cover the shadow that renders beneath the next item which shows through at non-integer zoom levels. BUG=616676 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/48dce59e6b091073c1f119ac531ccf43349289eb Cr-Commit-Position: refs/heads/master@{#411284}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : address comment, fix test #

Total comments: 1

Messages

Total messages: 31 (21 generated)
calamity
4 years, 4 months ago (2016-08-04 08:10:54 UTC) #5
tsergeant
Code generally looks good. However, patching this in locally I'm seeing a noticeable performance regression ...
4 years, 4 months ago (2016-08-05 00:16:48 UTC) #8
tsergeant
https://codereview.chromium.org/2206363003/diff/1/chrome/browser/resources/md_history/grouped_list.html File chrome/browser/resources/md_history/grouped_list.html (right): https://codereview.chromium.org/2206363003/diff/1/chrome/browser/resources/md_history/grouped_list.html#newcode18 chrome/browser/resources/md_history/grouped_list.html:18: @apply(--card-container-filter); I just noticed a problem with the grouped ...
4 years, 4 months ago (2016-08-05 01:21:37 UTC) #9
calamity
https://codereview.chromium.org/2206363003/diff/1/chrome/browser/resources/md_history/grouped_list.html File chrome/browser/resources/md_history/grouped_list.html (right): https://codereview.chromium.org/2206363003/diff/1/chrome/browser/resources/md_history/grouped_list.html#newcode18 chrome/browser/resources/md_history/grouped_list.html:18: @apply(--card-container-filter); On 2016/08/05 01:21:37, tsergeant wrote: > I just ...
4 years, 4 months ago (2016-08-05 04:01:58 UTC) #11
tsergeant
lgtm https://codereview.chromium.org/2206363003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js File chrome/test/data/webui/md_history/history_list_test.js (right): https://codereview.chromium.org/2206363003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js#newcode191 chrome/test/data/webui/md_history/history_list_test.js:191: element.scrollTop = 100; Nit: Maybe do scrollToIndex (https://github.com/PolymerElements/iron-list/blob/4713a5dc86da222167e3467531a187b239885547/iron-list.html#L1370) ...
4 years, 4 months ago (2016-08-08 00:24:54 UTC) #12
calamity
+dbeam for cr_shared_menu.js OWNERS. https://codereview.chromium.org/2206363003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js File chrome/test/data/webui/md_history/history_list_test.js (right): https://codereview.chromium.org/2206363003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js#newcode191 chrome/test/data/webui/md_history/history_list_test.js:191: element.scrollTop = 100; On 2016/08/08 ...
4 years, 4 months ago (2016-08-10 04:59:39 UTC) #15
Dan Beam
lgtm https://codereview.chromium.org/2206363003/diff/80001/chrome/browser/resources/md_history/shared_style.html File chrome/browser/resources/md_history/shared_style.html (right): https://codereview.chromium.org/2206363003/diff/80001/chrome/browser/resources/md_history/shared_style.html#newcode14 chrome/browser/resources/md_history/shared_style.html:14: drop-shadow(0 1px 1px rgba(0, 0, 0, .2)); my ...
4 years, 4 months ago (2016-08-10 22:38:07 UTC) #20
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/2206363003/80001
4 years, 4 months ago (2016-08-11 07:37:17 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-08-11 07:42:23 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 07:43:56 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/48dce59e6b091073c1f119ac531ccf43349289eb
Cr-Commit-Position: refs/heads/master@{#411284}

Powered by Google App Engine
This is Rietveld 408576698