[css-text][css-flexbox][css-grid] Rethinking values for wrap-before and wrap-after
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
CSS Text 4 currently defines wrap-before and wrap-after with the values auto, avoid, avoid-line, avoid-flex, line, and flex.
I am wondering whether the values can be consolidated, especially avoid-flex and flex seem redundant to avoid-line and line.
It is also unclear to me what's the difference between avoid and avoid-line. As I understand it, both avoid line breaks before or after an inline-level box or a flex item.
Furthermore, the properties may also apply to other boxes in the future like grid items, so maybe a more general keyword than line could be used instead, like wrap.
Applying those changes the syntax would then shrink to auto | avoid | wrap.
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 with the CSS Text 4 definition of wrap-before and wrap-after linked in the issue. Compare the current auto, avoid, avoid-line, avoid-flex, line, and flex values, including their interaction with inline-level boxes and flex items. Done requires an agreed value set and corresponding specification updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100