- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 May 2025 17:09:39 +0000
- To: public-css-archive@w3.org
Getting back to this after implementing a lot of `corner-shape`, I think we should not try to do anything fancy here. Instead, suggesting the following when the author provides a single-path `border-shape`: - `border-shape` is a progressive enhancement on top of classic borders. - When the `border-shape` is not `none`, `border-width` still affects the box model, but other than that, the border colors, radius, style and shape are not rendered. - Instead, values for the border are taken from SVG's `stroke-*` properties. This allows providing different joins, dash-arrays, etc. - So in essence the border-shape is rendered as a stroked SVG path, clipping the inner path, after resolving the shape to the reference box, and with all of the currently-SVG-specific CSS properties to style it. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11662#issuecomment-2913332644 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 May 2025 17:09:40 UTC