[css-cascade-7] Should rule identifiers allow quoted strings, or simply <ident>?
Open
Nobody has claimed this yet.
css-cascade-7
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
@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>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the linked CSS Cascade 5 and CSS Animations specifications, then compare the existing and grammars with the proposed @sheet forms. This is done when the quoted-string behavior has a clear resolution and the relevant specification text reflects that decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100