New issue
Advanced search Search tips

Issue 774335 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

<button> element text color doesn't change from black to white on button press

Project Member Reported by rlanday@chromium.org, Oct 13 2017

Issue description

Chrome Version: 62.0.3202.18 (Official Build) beta (64-bit)
OS: macOS 10.12.6

What steps will reproduce the problem?
(1) Go to data:text/html, <button>Hello
(2) Click and hold the button and look at the text color

What is the expected result?

At least as of macOS 10.12, the button text should change from black to white while the button is being pressed to match the system behavior. See the attached Safari screenshot for the correct behavior.

What happens instead?

The button text stays black.


The blue focus highlight around the button also seems somewhat non-native, but I know we handle focus differently from Safari (selection and focus are linked in Safari, but can be separate in Chrome), so perhaps there's a good reason for this?
 
Safari button pressed.png
6.8 KB View Download
Chrome button pressed.png
7.0 KB View Download
Description: Show this description

Comment 2 by kochi@chromium.org, Dec 27 2017

Status: Available (was: Untriaged)
Hmm, shall we match the behavior on Mac with Safari, or shall we keep
consistency with others (e.g. Windows Chrome)?
Project Member

Comment 3 by sheriffbot@chromium.org, Dec 27

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
I'd say matching Safari/Cocoa is the right thing to do.

Sign in to add a comment