[csswg-drafts] [css-backgrounds-4] `border-clip` with an element reference (#8808)

jsnkuhn has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-4] `border-clip` with an element reference ==
There is a common styling need for borders to be clipped by an overlapping heading element as in the example below.

![4uU0Of3xTQqEGAgD1AJxW8xZq7D3o9ilMnEVSDPH3no](https://user-images.githubusercontent.com/1286791/236633195-57919459-e812-467a-9f9e-eec903419b11.jpg)

Would it be possible to expand the "partial borders" property (border-clip/border-limit) to include an element reference that would clip/limit the border to the size of the referenced element? 

Something like: 

```css
border-clip: url(#heading);
```

https://drafts.csswg.org/css-backgrounds-4/#partial-borders

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8808 using your GitHub account


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

Received on Saturday, 6 May 2023 15:29:13 UTC