[css-pseudo][css-lists] Allow `counter-*` and `quotes` in ::marker
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
The ::marker pseudo-element can use
::marker {
content: counter(my-counter);
}
However, something like counter-increment: my-counter won't work since counter-increment doesn't apply to ::marker. Gotcha, it has to be set in the list item instead.
So I think counter-increment, counter-set and counter-reset should just apply. Counters don't affect layout so there doesn't seem to be any problem.
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 Lists definitions linked in the issue, along with the ::marker pseudo-element requirements. Check how counter-increment, counter-set, counter-reset, and quotes are defined for ::marker, then update the specification so their applicability and behavior are explicit and consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100