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

1. Wouldn't we want the same inner/outer functionality for the border-radius/corner-radius case? Like have rounded corners of different radiuses outside and inside? Feels a bit arbitrary that this simple version is only a one-shape syntax and the full basic-shape syntax doesn't include it. Perhaps we could utilize `outline` for this, where the inner shape strokes based on outline values and the outer shape strokes based on border values? In any case the rectangular outline makes little sense here. 

2. It's very surprising for me that `background` is what fills between the shapes. I would expect backgrounds to fill the inside shape, like in `border-radius`. I think we should find some semantic that works with `border-image` and aligns with Tab's proposal above for how the different border-widths work.

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


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

Received on Wednesday, 2 October 2024 07:36:20 UTC