Existing decimal usage in the web platform
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 638
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
I stumbled across https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/Decimal.cpp today. This is apparently used for <input>, see https://github.com/WebKit/WebKit/blob/main/Source/WebCore/html/InputType.cpp.
I think a goal of this effort needs to be that it can serve as a replacement of this existing Decimal class (or expose the existing class to script).
This relates to #4 but seemed different enough to warrant its own issue.
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 reading WebKit's Source/WebCore/platform/Decimal.cpp and Source/WebCore/html/InputType.cpp to understand the existing decimal usage for input elements. Then compare that usage with the proposal's intended API and determine whether the work should replace the class or expose it to script; done means the direction and scope are clearly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100