Background tab text color contrast calculations ignore background tab tint |
||||
Issue descriptionLoad the attached unpacked test theme. Note that background tab text is unreadable. I wonder if the core problem here is that we don't compute the background tab color correctly when there's a tint but no manually-set image or color. We seem to be computing text color to contrast against the frame color, instead of the (now tinted) background tab color. Probably not worth trying to get into the next 69 respin, but we should at least merge to 70.
,
Sep 16
You can make your own custom theme using whichever foreground and background colors you like.
,
Sep 19
,
Sep 20
,
Sep 24
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f75989c1388c79a301bbed95b566a0d6baaea28f commit f75989c1388c79a301bbed95b566a0d6baaea28f Author: Ryan Meier <rameier@chromium.org> Date: Mon Sep 24 18:13:42 2018 Properly handle tint in background tab text color calculation. Bug: 884062 Change-Id: I584dda328551a10db2100d493e802f42da83c1e5 Reviewed-on: https://chromium-review.googlesource.com/1237262 Commit-Queue: Ryan Meier <rameier@chromium.org> Reviewed-by: Michael Wasserman <msw@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#593600} [modify] https://crrev.com/f75989c1388c79a301bbed95b566a0d6baaea28f/chrome/browser/themes/browser_theme_pack.cc [modify] https://crrev.com/f75989c1388c79a301bbed95b566a0d6baaea28f/chrome/browser/themes/browser_theme_pack_unittest.cc [add] https://crrev.com/f75989c1388c79a301bbed95b566a0d6baaea28f/chrome/test/data/extensions/theme_test_bgtabtext_tintonly/manifest.json [modify] https://crrev.com/f75989c1388c79a301bbed95b566a0d6baaea28f/ui/gfx/color_utils.cc [modify] https://crrev.com/f75989c1388c79a301bbed95b566a0d6baaea28f/ui/gfx/color_utils_unittest.cc
,
Sep 24
|
||||
►
Sign in to add a comment |
||||
Comment 1 by mateusro...@gmail.com
, Sep 163.8 KB
3.8 KB View Download