[css-text-4] It should be possible to remove spaces while using text-autospace:no-autospace
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
https://www.w3.org/TR/css-text-4/#text-autospace-property
no-autospace
No automatic space is inserted.
My reading of this paragraph is that no-autospace will prevent the browser from creating new gaps in the text, but will not remove any spaces that the text already contains.
Perhaps we need a way to also replace those space characters with no gap (the logical correlate to the way we can insert gaps by replacing space characters). That would enable the CSS author to create text that consistently has no gaps.
Would it be possible to use a rule such as text-autospace:no-autospace replace; ?
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
The issue points to the CSS Text Level 4 text-autospace section; start by reviewing the definition of no-autospace and its treatment of existing space characters. Done would require a resolved specification behavior and syntax for removing those spaces, such as the proposed replace form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100