- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 19 Feb 2025 14:15:12 +0000
- To: public-css-archive@w3.org
I created a codepen that renders `corner-shape` using @fserb's formula to approximate superellipses (more on that later), and shows how I think the borders should work: https://codepen.io/noamr/pen/WbNQEvP?editors=1111 Basically, to achieve the effect where the thickness of the border is equal to the relevant `border-width`, while painting within the corner bounds, the outer radius as to be lower than the inner radius for curvatures more concave than round. This becomes very apparent with `notch`:  And also with `bevel`  Or scoop:  In the prototype, the outer radius is reduced in a number that's a function of the corresponding border and the curvature. The offset would be an intercept for a parallel line to the tangent of the curve at a (border-width) distance. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11610#issuecomment-2668782471 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 19 February 2025 14:15:12 UTC