Re: [csswg-drafts] [css-values] Stacked modifiers in definitions (#6085)

> It's intended that at least some of the modifiers be stackable; if we need to make it clearer in the spec, we can.

It would be helpful to have a definition for how multiplier stack works. Currently the [spec](https://drafts.csswg.org/css-values/#component-multipliers) only says that multipliers can follow  `"type, keyword, or bracketed group"` and not other multipliers with the only one that explicitly mention a combination is the hash mark with the curly brace range.

I'm trying to understand if there is a meaning to the order that they are stacked in:

- you said that there is a different between `+#` and `#+`, what do you mean by "identical inputs"?
- in [custom-selector](https://drafts.csswg.org/css-extensions-1/#custom-selectors) the syntax has `<custom-arg>+#?`, I think that means it can be a combination of space (or nothing) and comma separated list with the `?` lowering the the list minimum to zero. Would `+?#` or `?#+` mean the same thing or does the multiplier affect only the multiplier(s?) that comes before it?
- can there be a different range limit on comma/space lists, for example `+{2,5}#{1,3}`?

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


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

Received on Friday, 24 September 2021 06:42:52 UTC