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

[css-view-transitions-1] Exclude auto as custom ident for view-transition-name #9895

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

cdoublev
Copy link
Collaborator

@cdoublev cdoublev commented Feb 2, 2024

Currently, below view-transition-name, defined with none | auto | <custom-ident>:

<custom-ident>: [...] The value none is excluded from <custom-ident> here.

https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-custom-ident

This PR adds auto as an excluded <custom-ident> value.

@cdoublev cdoublev added the css-view-transitions-1 View Transitions; Bugs only label Feb 2, 2024
This is inconsistent with how other specs define custom ident restrictions.
Copy link
Member

@nt1m nt1m left a comment

Choose a reason for hiding this comment

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

I made some extra changes, but looks good otherwise, thanks!

@w3cbot
Copy link

w3cbot commented Feb 7, 2024

nt1m marked as non substantive for IPR from ash-nazg.

@nt1m nt1m merged commit 8c4d951 into w3c:main Feb 7, 2024
1 check passed
@cdoublev
Copy link
Collaborator Author

cdoublev commented Feb 7, 2024

Out of curiosity, what is the reason to exclude auto if is not a valid keyword for the property?

@cdoublev cdoublev deleted the pr-9895 branch February 7, 2024 19:54
@nt1m
Copy link
Member

nt1m commented Feb 7, 2024

Out of curiosity, what is the reason to exclude auto if is not a valid keyword for the property?

We were thinking of potentially reserving this keyword for in case we'd want to auto-generate names, but in general there's no real reason to name a view transition "auto".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-view-transitions-1 View Transitions; Bugs only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants