Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[multi][editorial] Rewrite syntax with implicitly optional comma #9650

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

cdoublev
Copy link
Collaborator

@cdoublev cdoublev commented Nov 29, 2023

Eg. rewrite [<foo>,]? <bar> as <foo>? , <bar>.

In case there is any doubt for [<bg-layer># ,]? <final-bg-layer>.

the # and ? multipliers may be stacked as #?

https://drafts.csswg.org/css-values-4/#component-multipliers


edit

Hmm, actually there is currently a mismatch between...:

<step-easing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)

... and:

steps(<integer>, <step-position>?): The first parameter specifies the number of intervals [...]

This confuses w3c/reffy, which extracts the latter whereas some contextual definitions like the latter may use an abstract syntax, eg. pow(A, B) instead of the formal syntax pow(<calc-sum>, <calc-sum>).

Do you mind if I replace steps(<integer>[, <step-position>]?) with <steps()> in this PR or another one?

@tabatkins tabatkins merged commit b2c9691 into w3c:main Dec 1, 2023
1 check failed
@cdoublev cdoublev deleted the pr-9650 branch December 4, 2023 03:52
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.

None yet

2 participants