Skip to content

Conversation

@noamr
Copy link
Collaborator

@noamr noamr commented Mar 28, 2024

Based on resolution:
#9874 (comment)

Closes #9874

@noamr noamr requested review from khushalsagar and vmpstr March 28, 2024 13:47
<pre class=prod>
<dfn>&lt;pt-class-selector></dfn> = ['.' <<custom-ident>>]*
<dfn>&lt;pt-name-and-class-selector></dfn> = <<pt-name-selector>><<pt-class-selector>>? | <<pt-class-selector>>
<dfn>&lt;pt-class-selector></dfn> = ['.' <<custom-ident>>]+
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirming, the "+" means there needs to be at least 1 class.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes


<pre class=prod>
<dfn>&lt;pt-class-selector></dfn> = ['.' <<custom-ident>>]*
<dfn>&lt;pt-name-and-class-selector></dfn> = <<pt-name-selector>><<pt-class-selector>>? | <<pt-class-selector>>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here "?" implies zero or more class selectors.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, zero or one <<pt-class-selector>>, which would be one or more (because it has +)

@noamr noamr merged commit 127f19f into w3c:main Mar 28, 2024
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.

[css-view-transitions-2] Consider allowing ::view-transition-group(.class) without *

2 participants