Re: [csswg-drafts] New `border-radius` value for perfectly matching nested radii (#7707)

I don't like `auto` for this. If we had `border-radius: auto`, my intuition would be that it's the initial value, and it typically resolves to 0, but allows the UA to choose another value in certain cases. For example, `-webkit-appearance: -apple-pay-button` are rounded by default in WebKit, but `border-radius: 0` makes the corners sharp. Currently this is done using some internal magic, and IMO an `auto` keyword would be more suited for these kind of things (though probably not worth doing).

Something like `fit-parent` or such seems way clearer to me.

Though as I said, `overflow: clip; overflow-clip-margin: content-box` seems a better solution in most cases.

@equinusocio If you want to change how the radius of the padding edge is calculated, please file another issue.

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


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

Received on Friday, 9 September 2022 11:14:18 UTC