Re: [csswg-drafts] Allow specifying the "accent color" of a form control element (#5187)

> For a accent-color of "auto", could getComputedStyle() be used to get the OS color scheme (concern is that this could be used to fingerprint the user's OS)? Or would getComputedStyle(elem).getPropertyValue("accent-color") just return "auto" or ""?

I don't think we should return the OS color scheme here due to fingerprinting, like you said. We don't even use the OS color scheme for form control accent colors yet in chrome, we only use it for focus rings and selection color right now.

-- 
GitHub Notification of comment by josepharhar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5187#issuecomment-780010448 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 February 2021 17:52:36 UTC