- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Wed, 01 Oct 2025 17:12:26 +0000
- To: public-css-archive@w3.org
Algorithm from resolution:
```js
function adjusted_radius(radius_width, radius_height, edge_width, edge_height, spread) {
let coverage = Math.min(
2 * radius_width / edge_width,
2 * radius_height / edge_height
) || 0;
return [radius_width, radius_height].map(value => {
if (value >= spread || coverage >= 1)
return value + spread;
let r = 1 - value / spread;
return value + testCase.spread * (1 - r**3 * (1 - coverage ** 3));
});
```
--
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7103#issuecomment-3357331922 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 October 2025 17:12:27 UTC