Inconsistent treatment of identifiers and keywords
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
A few identifiers and keywords are presented with varied visual treatment:
$ git rev-parse HEAD
8344d2ff9b26571ad58c73e68b2d62625ce3bfab
$ grep -Eo '(<[^>]+>)?(true|false|undefined|null)' index.html | sort | uniq -c
88 <a>null
37 <a>undefined
8 <code>false
1 <code>null
7 <code>true
3 <dfn>null
25 false
4 null
26 true
3 undefined
4 <var>false
2 <var>null
Some of the unadorned usages may be correct (e.g. when they are used for their plain-English meaning in informative text like "the UA's behavior is undefined"), but many seem to be unintentional omissions.
I would be happy to submit a patch to correct this, but I could use guidance on which treatment is preferred for each word.
Also, we've identified and fixed this once before, so linting for this may be warranted.
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 identifier and keyword occurrences in index.html, using the grep output in the issue to locate the inconsistent treatments. Read w3c/webdriver#760 and pull request #771 for the earlier approach before deciding which usages need changes. Done means the intended presentation is consistent and any linting direction is documented or implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100