Re: [csswg-drafts] [css-backgrounds-4] Can you chain `border-area` and `text` in `background-clip`? (#10696)

I guess that's a straight-forward change and all seem positive about it. So let's put it on the agenda.

The two points to resolve on:

1. Support for multiple values in `background-clip`
2. Support any keyword combination or only sensible ones?

Regarding combinations, I don't see value in allowing all combinations. So I propose the syntax to be

```ebnf
<bg-clip> = [ <visual-box> | border-area ] || text
```

Or, if we believe there are use cases to combine styling the box areas with the border area, then

```ebnf
<bg-clip> = <visual-box> || border-area || text
```

Sebastian

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


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

Received on Tuesday, 13 August 2024 00:00:23 UTC