DescriptionMatch the NativeTextfieldViews cursor color to the text color.
The NativeTextfieldViews cursor color is hard-coded black.
Instead, set the cursor color to Textfield::GetTextColor.
This supports more Windows high-contrast black themes, etc.
However, if Windows has red text, they'll get red cursors.
(I think accessibility trumps that questionable coloring)
(also, the native behavior is worse in my ugly test theme)
BUG=252385, 131660
TEST=Views Textfields cursors match their overall text color; meets accessibility requirements without other seriously negative effects.
R=oshima@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207795
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|