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

> Would `concentric(card)` match the ancestor `.card` by its class? That's not entirely clear to me from the syntax.
> 
> Any chance we could open this up to full selector matching, like `concentric(.card)`, `concentric(#some-id)`, or even a more generic `concentric(div)`?

Yes, my idea when I proposed that syntax was to have full selector support, but apparently that idea got lost somewhere along the thread.

I don't see any good reason not to make this as generic as possible by simply allowing a selector for the browser to use the first matching ancestor.



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


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

Received on Tuesday, 10 October 2023 10:01:19 UTC