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

  > I would argue just the opposite, as for most values, a part of a CSS value can't be repeated. You can't say `color(srgb srgb 1 0 1)`. That's what the grammars enforce.

Sorry, my point was not very clear but it was about values that the grammar allows to repeat, representing resources, instructions, function arguments, etc... where the last one wins because it naturally overrides the previous ones, like `@property` or `@counter-style` for rules, obviously property/descriptor declarations, but also [`counter-*`](https://drafts.csswg.org/css-lists-3/#propdef-counter-reset) value with the same `<counter-name>`, [`link-parameters`](https://drafts.csswg.org/css-link-params-1/#propdef-link-parameters) value with the same `<link-param>`, [`param()`](https://drafts.csswg.org/css-link-params-1/#svg-parameter-fragment-identifier) arguments with the same `<custom-property-name>`, etc.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12151#issuecomment-3007066310 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 05:05:55 UTC