Skip to content

[css-view-transitions-2] Revisit the -ua- types fix to make parsing invalid - #14111

Merged
noamr merged 2 commits into
mainfrom
ua-types
Jun 30, 2026
Merged

[css-view-transitions-2] Revisit the -ua- types fix to make parsing invalid#14111
noamr merged 2 commits into
mainfrom
ua-types

Conversation

@noamr

@noamr noamr commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@cdoublev cdoublev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

That works for me. It is no longer ambiguous. Thanks!

The requirement to exclude some identifiers from matching <custom-ident> is phrased in various ways across the specs (some examples below), with some inconsistencies like not mentioning ASCII case-insensitivity or excluding identifiers that are already specified as reserved by CSS Values:

When parsing positionally-ambiguous keywords in a property value, a <custom-ident> production can only claim the keyword if no other unfulfilled production can claim it.


<animateable-feature> = scroll-position | contents | <custom-ident>

The <custom-ident> production used here excludes the keywords will-change, none, all, auto, scroll-position, and contents, in addition to the keywords normally excluded from <custom-ident>.

<container-name> = <custom-ident>

The keywords none, and, not, and or are excluded from this <custom-ident>.

<counter-name> = <custom-ident>

A <counter-name> name cannot match the keyword none; such an identifier is invalid as a <counter-name>.

<counter-style-name> = <custom-ident>

A <counter-style-name> is a <custom-ident> that is not an ASCII case-insensitive match for none.

@noamr
noamr merged commit cca93bb into main Jun 30, 2026
1 check passed
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.

2 participants