[css-text-3][css-text-4] Clarify interaction of `word-break: keep-all` and hyphenation

Open Beginner friendly
#12,196 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
css
Domain
documentation

Research direction

Start with the CSS Text Level 3 word-break: keep-all definition linked in the issue, then compare its existing dictionary-based breaking exception with the hyphenation behavior under discussion. Done means the specification text clearly states whether that exception also covers hyphenation in both CSS Text 3 and CSS Text 4.

Written by the indexing model from the issue text.

Description

css-text-3 editorial Needs Testcase (WPT)

The current definition of word-break: keep-all https://www.w3.org/TR/css-text-3/#valdef-word-break-keep-all

Breaking is forbidden within “words”: implicit soft wrap opportunities between typographic letter units (or other typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes [UAX14]) are suppressed, i.e. breaks are prohibited between pairs of such characters (regardless of line-break settings other than anywhere) except where opportunities exist due to dictionary-based breaking.

It might be useful to clarify that the exception applies to hyphenation as well.

Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from w3c/csswg-drafts

All issues in w3c/csswg-drafts

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.