DescriptionDevTools: [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 #
Dependent Patchsets: Messages
Total messages: 11 (6 generated)
|