Re: [csswg-drafts] [css-borders-4]: `border-shape` order of shapes in the two-shape variant (#13308)

> Just zooming out a bit: I'm still not sure how this inside vs outside conversation is even relevant? Won't there, in most cases, be a smaller path that will be _required_ to go on the side of a larger path or am I just over simplifying this?
> 
> For example these 2 paths:
> 
> ```
> inset(0)
> inset(12px)
> ```
> 
> What would it even mean to try and tell the browser to put the smaller `inset(12px)` path on the outside of the larger `inset(0)` path? This is not physically possible.
> 
> There can be some situations with multiple value `inset()`s where the 2 paths will overlap one another. But in that case inside and outside isn't really even in the picture is it?

No that doesn't work because the outer shape defaults to `border-box` and the inner shape defaults to `padding-box`. So e.g. you can do `circle() in circle()` and the border width would define the size of the circles.

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


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

Received on Tuesday, 3 February 2026 14:35:44 UTC