[csswg-drafts] [css-cascade-5] Define `<layer-name>` with `<custom-ident>` instead of `<ident>` (#8287)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade-5] Define `<layer-name>` with `<custom-ident>` instead of `<ident>` ==
Is there a reason to use `<ident>` instead of `<custom-ident>` to define [`<layer-name>`](https://drafts.csswg.org/css-cascade-5/#typedef-layer-name)? Is it to allow `default`?

> `<layer-name> = <ident> [ '.' <ident> ]*`
>
> The CSS-wide keywords are reserved for future use, and cause the rule to be invalid at parse time if used as an <ident> in the <layer-name>.

https://drafts.csswg.org/css-values-4/#custom-idents

> `<custom-ident>` [...] represents any valid CSS identifier that would not be misinterpreted as a pre-defined keyword in that property’s value definition. [...] The CSS-wide keywords are not valid `<custom-ident>`s. The `default` keyword is reserved and is also not a valid `<custom-ident>`.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8287 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 7 January 2023 17:47:33 UTC