Skip to content

[css-values-4] Allow {A} and ? multipliers to be stacked#12521

Merged
tabatkins merged 1 commit into
w3c:mainfrom
tidoust:css-values-4-stacked
Jul 24, 2025
Merged

[css-values-4] Allow {A} and ? multipliers to be stacked#12521
tabatkins merged 1 commit into
w3c:mainfrom
tidoust:css-values-4-stacked

Conversation

@tidoust
Copy link
Copy Markdown
Member

@tidoust tidoust commented Jul 24, 2025

Via csstree/csstree#346

The Value Definition Syntax defines the list of multipliers that can be stacked. The syntax definition of <cursor-image> in css-ui-4 has started to use <number>{2}? but the {A}? stack isn't explicitly allowed for now.

I'm assuming that the new syntax definition in css-ui-4 is intended. If not, well, it needs fixing ;)

This update completes the list of multipliers that can be stacked with {A}? and {A,B}?. Feel free to discard and re-create with adjusted wording as you see fit.

The Value Definition Syntax defines the list of multipliers that can be
stacked.

The syntax definition of `<cursor-image>` in css-ui-4 has started to use
`<number>{2}?` but the `{A}?` stack wasn't explicitly allowed (and some CSS
parsers do not support it yet).

This update completes the list of multipliers that can be stacked with `{A}?`
and `{A,B}?`.
@tidoust tidoust requested a review from tabatkins July 24, 2025 14:17
@tabatkins
Copy link
Copy Markdown
Member

Oh yeah, I've probably used that in syntax proposals elsewhere, too. Definitely a good change.

@tabatkins tabatkins merged commit b281eeb into w3c:main Jul 24, 2025
1 check passed
@cdoublev
Copy link
Copy Markdown
Collaborator

Can we assume that #{A}? is also valid?

@tabatkins
Copy link
Copy Markdown
Member

I say yes. ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants