public enum LineBreakStrictnessHow strict a line break is. CSS Text 3 § 5.2's line-break.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ The property CJ is conditional on, and until this existed the class had no condition to read. A conditional Japanese starter — the small kana, the prolonged sound mark, the iteration marks — is the one line break class UAX#14 declines to resolve on its own: § 6.1 says it resolves to NS or to ID "depending on the desired line breaking strictness", and this is the sentence that says which. Resolving it unconditionally, which is what this store did, is picking one of the two answers and calling it the algorithm.
⚠ Not WordBreakMode under another name, and CSS Text § 5.2 puts them side by side for the same reason this file keeps three enums apart. word-break says what counts as a word — whether two letters may be parted — and knows nothing about kana; this says how strict the typography is, which is a question about a small set of characters that are almost all Japanese. They compose, and where they disagree about CJ the word-breaking tailoring wins, because break-all and keep-all are statements about every character and this one is a statement about these.
⚠ No utility class emits any of the four, and that is a decision rather than an omission. Tailwind has no line-break root in v3 or v4, so a family invented for it would be a spelling this store made up — the parity ledger is a comparison with Tailwind and a row nothing outside this repository could write is not a comparison. The property is reachable the way every un-utilitied CSS property is, by writing it in a .vcss rule.
Fields and properties (5)
AutoThe user agent decides. CSS's line-break: auto, and the initial value.
LooseThe least strict. CSS's line-break: loose.
NormalThe common tailoring. CSS's line-break: normal.
StrictThe strictest. CSS's line-break: strict.
AnywhereA break around every typographic character unit. CSS Text 4 § 5.1's anywhere.
Used by (6)
- CssLineBreakTailoringTestsVixen.Ui.Text.Tests
- LineBreakRunVixen.Ui.Text
- LineBreakerVixen.Ui.Text
- LineWrapperVixen.Ui.Text
- UiDocumentVixen.Ui
- UiElementVixen.Ui