[csswg-drafts] [css-cascade-7] Should rule identifiers allow quoted strings, or simply <ident>? (#12005)

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

== [css-cascade-7] Should rule identifiers allow quoted strings, or simply <ident>? ==
```
@sheet foo {}
@sheet "foo" {}
```

The former feels natural, but this issue is whether we should *also* support the latter. 
 
For precedent, `@layer` *only* supports the former:

```
<layer-name> = <ident> [ '.' <ident> ]*
```

https://www.w3.org/TR/css-cascade-5/#layer-names

...while `@keyframes` allows both (as equivalent values):

```
<keyframes-name> = <custom-ident> | <string>
```

https://drafts.csswg.org/css-animations-1/#keyframes

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


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

Received on Wednesday, 26 March 2025 00:02:22 UTC