Re: [csswg-drafts] [css-shapes-2] Add a way to change an element's shape (#6997)

`shape-outside` is about wrapping content around an element. `clip-path` is about clipping, and does not affect border drawing.

I think the solution here is a property that allows the author to specify a shape that affects the painted border, like `border-shape` or `element-shape`. The author might want to specify a single path which is stroked to generate the border, or two paths which form the inner and outer edge of the painted border (i.e. a path with a hole), in which case the space between them is filled with the border color(s).

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


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

Received on Tuesday, 30 July 2024 15:32:12 UTC