Fix blackness for color-viewer/selection-ring
This change fixes a bug for <color> where the color-viewer (The big circle to the left of the 'hue slider', color-selection-rings (the small circles on 'color well' and the hue slider), and the colored rectangle of the in-page color control are black due to the auto adjustment from the forced color mode. The fix is to turn off the auto adjustment for these particular UI elements when high contrast mode is enabled. The test controls-new-ui-high-contrast/color-picker.html is also updated (based on controls-new-ui/color/color-picker-appearance-color-well-click.html) to verify that selected colors are correctly shown in the high contrast mode. Bug: 994219 Change-Id: I51c73b3ba2b30010bf1388fc67a07d0033090e54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832608 Commit-Queue: Alex Keng <shihken@microsoft.com> Reviewed-by:Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#701623}
Showing







