Canonicalize Whitespace algorithm does not respect the `white-space-collapse` CSS property
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 202
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Steps 3.3, 7.3 and 8.3 of the canonicalize whitespace algorithm have a condition of parent's resolved value for "white-space" is neither "pre" nor "pre-wrap". As "white-space" has been converted into a shorthand property this should instead use the longhand white-space-collapse property.
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 steps 3.3, 7.3, and 8.3 of the canonicalize whitespace algorithm, then compare their condition with the CSS Text Level 4 definition of white-space-collapse. Done means the algorithm consistently refers to the longhand property rather than the white-space shorthand in all three steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100