Re: [csswg-drafts] [css-ui] Should `outline-offset` be a longhand of `outline`? (#8788)

Its introduction predates my involvement with css-ui, so I am not sure if it is deliberate or not, but I would be cautious about changing it now. We most likely have a lot of content with built-in assumptions that changing the value of `outline` does not reset `outline-offset`, and changing the relationship would invalidate that. In particular, I worry that `outline-offset` is used to ensure that the outline is visible, in cases where it may otherwise be obscured by other content, or by a container whose `overflow` is not `visible. Resetting it could then make the outline invisible, and that could get in the way of accessibility, as it is often used as a focus indicator.

If we could ascertain that there is no compat problem, then I'd be in favor of the change, but I am skeptical that we can.

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


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

Received on Thursday, 6 June 2024 08:51:41 UTC