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

Issue 2740913003: DevTools: [Icons] do not set background-position in every UI.Icon (Closed)

Created:
3 years, 9 months ago by lushnikov
Modified:
3 years, 9 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: [Icons] do not set background-position in every UI.Icon Currently, every UI.Icon sets background-position property in its element.style. In case of masks and gradients, this property might actually affect the gradient position. This patch starts using --spritesheet-position css variable to actually set the icon position in the resources. Drive-by: simplify classes for "force-white-icons". R=dgozman BUG=none Review-Url: https://codereview.chromium.org/2740913003 Cr-Commit-Position: refs/heads/master@{#455972} Committed: https://chromium.googlesource.com/chromium/src/+/5d6f151a68f7f5d42e6a8337eb38f0ef1cf426e2

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 2

Patch Set 3 : fix suggestbox #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -17 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/Icon.js View 1 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css View 1 2 2 chunks +12 lines, -13 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (6 generated)
lushnikov
please, take a look
3 years, 9 months ago (2017-03-09 23:21:36 UTC) #1
dgozman
lgtm https://codereview.chromium.org/2740913003/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css File third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css (right): https://codereview.chromium.org/2740913003/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css#newcode377 third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css:377: background: white !important; -webkit-mask-position it.
3 years, 9 months ago (2017-03-09 23:45:34 UTC) #4
lushnikov
https://codereview.chromium.org/2740913003/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css File third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css (right): https://codereview.chromium.org/2740913003/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css#newcode377 third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css:377: background: white !important; On 2017/03/09 23:45:34, dgozman wrote: > ...
3 years, 9 months ago (2017-03-09 23:48:38 UTC) #5
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/2740913003/40001
3 years, 9 months ago (2017-03-10 01:33:12 UTC) #8
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 03:05:37 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5d6f151a68f7f5d42e6a8337eb38...

Powered by Google App Engine
This is Rietveld 408576698