-
Notifications
You must be signed in to change notification settings - Fork 719
[css-ui] Should outline-offset
be a longhand of outline
?
#8788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
BTW, it's not a longhand in Gecko/Blink/WebKit. |
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 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. |
I'm not even sure I'd be in favor of this if we were starting from scratch. I think it's quite reasonable to want to change the outline style, width, and color all together without changing the offset. I think the outline style/width/color are "what does the focus outline look like" and outline-offset is "where does the focus outline go". (It's sort of like |
I'm fine with not including
|
I've added a note, as suggested above. That's just an editorial change, so we don't need a group resolution for that. Should we close this issue, or do we want an explicit group resolution about making no normative change? (cc: @atanassov @astearns ) |
@Loirooriol go ahead and close this issue if you are good with the current outcome |
https://drafts.csswg.org/css-ui/#outline says
This is verbatim taken from https://www.w3.org/TR/CSS2/ui.html#dynamic-outlines:
But CSS UI added
outline-offset
, which didn't exist in CSS2.So I don't know if leaving it out of the shorthand was deliberate or not.
The text was updated successfully, but these errors were encountered: