Re: [csswg-drafts] [css-ui] outline is not visible when moving focus programmatically (#4421)

> "auto" means to use the default behavior of drawing focus only when the browser thinks it should be drawn.

Sorry if I was unclear, but that is incorrect.

`outline: auto` means draw an outline whenever this rule applies. Only the *style* of the outline is based on browser defaults (which may be solid or dotted).  Also, I should have mentioned: most browsers also have a prefixed keyword for defining the default outline color, which isn't standardized yet (but maybe should be). But again, that is about what the outline _looks_ like, not when it is shown. When it is shown is defined by `:focus`, `:focus-visible`, and any custom CSS classes you add.

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

Received on Tuesday, 15 October 2019 20:50:44 UTC