Re: [csswg-drafts] [css-values] Spec does not reject duplicate `<request-url-modifier>`s, but WPT does (#12151)

I can see repetition (with later modifiers overriding earlier ones) being useful sometimes. For example, having a custom property with some default modifiers, and then being able to modify just the one you want:

```css
:root {
  --default-modifiers: foo(1) bar(2) baz(3);
}

.thing {
  background-image: src("image.png" var(--default-modifiers) bar(500));
}
```

I don't know enough about CSP to know if this would be useful in practice, but at least conceptually it seems useful to avoid repetition.


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


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

Received on Thursday, 26 June 2025 07:27:08 UTC