Consider using shepard (Bikeshed tool) to generate CSS data automatically
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 787
- Forks
- 216
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 6
Description
This was previously requested in bug 1189440.
The idea is to read the data defined in the CSS specifications to update the JSONs automatically using a tool called shepard:
https://api.csswg.org/shepherd/
Note from @teoli2003:
A priori this is a good idea (it could allow us to have the info before we create a CSS property page and remove the sync need to update CSSData), but we should consider several aspects:
- performance
- can we get all the info needed from it.
- do we need a way to override it (place we diverge from the standard)
- how to deal with pseudo-elements, descriptors, pseudo-classes...
But this is interesting.
Sebastian
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
Start by reviewing the existing JSONs and the CSS specifications exposed through the Shepherd API. Determine whether Shepherd provides the required property, pseudo-element, descriptor, and pseudo-class data, and how performance and project-specific overrides would work. Done means an agreed automatic update path that covers these cases without a manual synchronization step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- tooling, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100