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

> Like already mentioned elsewhere, CSS already has keywords for [compositing operators](https://drafts.csswg.org/css-masking-1/#typedef-compositing-operator) (which are almost what this is).
> 
> <compositing-operator> = add | subtract | intersect | exclude
> PS: If brevity is important, `in` would work if the order was flipped.

These are not exactly compositing, as the two shapes have special meanings - the outer one, for example, participates in `shape-outside`, and the inner one is used for overflow clipping.

However, I do like `exclude`.
How about `excluding`?

```css
border-shape: circle() excluding rect();
border-shape: exclude rect() from circle();
/* or a single shape */
border-shape: stroke circle();
```

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


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

Received on Monday, 2 February 2026 21:09:57 UTC