Re: [csswg-drafts] [css-ui][css-backgrounds] Negative outline-offset is not interoperable and spec is not clear (#8786)

I guess the problem you were referring to is that, especially with thick outlines, it may happen that the outer edge of the outline is outside the border, while the inner edge is inside due to a negative `outline-offset`. In that case, should the outer edge use the offset algorithm, and the inner edge use the inset algorithm? Should we only use one algorithm for one of the edges and derive the other from the former?

This illustrates what would happen when using the currently specced algorithm for outset for the outer outline edge, and the inset algorithm for the inner outline edge. So the cyan areas would be the outline, and the thin black line shows the border area (in reality it would be covered by the outline).

![imatge](https://user-images.githubusercontent.com/7477678/235899813-cfc5fc16-63a0-4f9c-b039-7e9a5fcdda95.png)

I don't think we want this to happen (deriving the inner outline edge from the outer one):

![](https://user-images.githubusercontent.com/7477678/235903070-6774a366-61ba-444a-bdc0-8ee668c413e1.png)


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


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

Received on Wednesday, 3 May 2023 11:28:30 UTC