Re: [csswg-drafts] [css-borders-4] Consider constraining radii for concave corner-shape when opposite corners overlap (#12098)

> Yes, that sounds like a reasonable approach to me. I suspect there's a lot of potential flexibility in what exactly we do, but that algo seems straightforward and thematically consistent with how we shrink adjacent corners.

@smfr does this seem reasonable to you?
The algorithm in the spec would be a bit high level, something like defining the "find a scale factor by which scaling both radii would make it so the quadrilateral hulls created by the shaped corners would touch but not intersect".

An implementation can use bsearch for this or find something more fancy/optimized.

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


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

Received on Monday, 12 May 2025 12:35:12 UTC