Problem
When outline-style: auto is used in combination with outline-offset,
Chrome currently subtracts around 1px from the used value of outline-offset to help keep focus outlines visible in overflow scenarios not handled by authors.
Unfortunately, when the author wants to handle the offset themselves, this makes outline-offset very hard to use in a predictable way in Chrome and in an interoperable way across browsers.
In other UAs, outline-offset currently behaves normally with outline-style: auto, but I don’t think this interaction is clearly specified, so I’m not sure there is a guarantee that this behavior would not change in the future, for example due to UA stylistic or accessibility changes.
Maybe changing the initial value of outline-offset to auto could give UAs enough flexibility to choose their own default offset, while making numeric values specified by authors behave normally.
Problem
When
outline-style: autois used in combination withoutline-offset,Chrome currently subtracts around
1pxfrom the used value ofoutline-offsetto help keep focus outlines visible in overflow scenarios not handled by authors.Unfortunately, when the author wants to handle the offset themselves, this makes
outline-offsetvery hard to use in a predictable way in Chrome and in an interoperable way across browsers.In other UAs,
outline-offsetcurrently behaves normally withoutline-style: auto, but I don’t think this interaction is clearly specified, so I’m not sure there is a guarantee that this behavior would not change in the future, for example due to UA stylistic or accessibility changes.Maybe changing the initial value of
outline-offsettoautocould give UAs enough flexibility to choose their own default offset, while making numeric values specified by authors behave normally.