[Devtools] Add panel showing more information about contrast ratio

Desktop / Chromium - Alice Boxhall [chromium.org] - 9 August 2017 04:13 EDT

Bug: 514674 Change-Id: I70a5052807d341b245ece4b12118e764d824dd54 Reviewed-on: https://chromium-review.googlesource.com/572448 Commit-Queue: Alice Boxhall

17314f5 [Devtools] Add panel showing more information about contrast ratio
.../css/css-get-background-colors-expected.txt | 50 +-
.../Source/core/inspector/InspectorCSSAgent.cpp | 30 +-
.../Source/core/inspector/InspectorCSSAgent.h | 5 +-
.../Source/core/inspector/browser_protocol.json | 6 +-
third_party/WebKit/Source/devtools/BUILD.gn | 1 +
.../devtools/front_end/Images/mediumIcons.png | Bin 2045 -> 2149 bytes
.../devtools/front_end/Images/mediumIcons_2x.png | Bin 4285 -> 4513 bytes
.../devtools/front_end/Images/smallIcons.png | Bin 2850 -> 3056 bytes
.../devtools/front_end/Images/smallIcons_2x.png | Bin 6342 -> 6790 bytes
.../devtools/front_end/Images/src/mediumIcons.svg | 485 +++++++++++++++---
.../front_end/Images/src/optimize_png.hashes | 4 +-
.../devtools/front_end/Images/src/smallIcons.svg | 41 +-
.../devtools/front_end/Images/src/svg2png.hashes | 4 +-
.../devtools/front_end/color_picker/Contrast.js | 555 +++++++++++++++++++++
.../devtools/front_end/color_picker/Spectrum.js | 257 +++-------
.../devtools/front_end/color_picker/module.json | 1 +
.../devtools/front_end/color_picker/spectrum.css | 151 ++++++
.../front_end/elements/ColorSwatchPopoverIcon.js | 14 +-
.../front_end/elements/StylesSidebarPane.js | 25 +-
.../Source/devtools/front_end/sdk/CSSModel.js | 13 +-
.../WebKit/Source/devtools/front_end/ui/Icon.js | 4 +
21 files changed, 1319 insertions(+), 327 deletions(-)

Upstream: git.chromium.org


  • Share