[css-values-5] Are CSS wide keywords allowed in `<syntax-single-component>`?
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
The spec defines <syntax-single-component> = '<' <syntax-type-name> '>' | <ident> but Chrome (the only implementer) disallows CSS wide keywords and the default keyword (i.e. it only allows <custom-ident> rather than <ident>).
By allowing only <custom-ident> it would also align better with the syntax described by the css-properties-values-api spec (which I believe this intends to replace) as that defines it's equivalent "syntax component name" as A sequence of code points which is either a data type name, or a sequence that can produce a <custom-ident>. (i.e. '<' <syntax-type-name> '>' | <custom-ident>)
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 css-values-5 definition of , the linked CSS Properties and Values API syntax component name, and Chromium's css_syntax_definition.cc implementation. Determine whether the specification should use or ; done means the intended keyword behavior is clearly resolved in the spec.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100