Re: [csswg-drafts] [css-ui] Tweaking outline-style: auto colors. (#7761)

> So first, I meant (initially) and I think you meant here, outline-style: auto, not outline:auto, right? Since outline is a shorthand, I'm not sure we should add an auto value to that, but maybe.

No, I meant `outline: auto`. `outline: auto` expands to `outline-style: auto; outline-color: currentColor; outline-width: medium;`. Since `currentColor` can't be magic, we'd need a different initial `outline-color` of sorts.

> Perhaps we should amend that to say something about trying to use outline-color as much as possible when outline-style: auto? It probably can't be more specific or normative than that, since the UA style (e.g. Firefox's) might include more than one color, or gradients, etc. But I'm in favor of trying to push in that direction.

I think we at least need a fix for `outline: auto` to do the right thing rather than forcing black outlines. I think in Blink what you have in the UA sheet is something like `-webkit-focus-ring-color`, which doesn't follow the spec afaict.

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


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

Received on Wednesday, 16 November 2022 23:29:03 UTC