← Back to release summary

CSS kashida justification

Category
CSS
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

WPT details: Yes. Tentative parsing, animation, and rendering tests are included under: css/css-text/parsing/ css/css-text/animations/ css/css-text/text-justify/ They cover elongation, word-priority selection, author-provided tatweels, space fallback, mixed directionality, font fallback, ZWNJ, ruby, ligature protection, `text-kashida-space`, and Latin passthrough.

Summary

Adds the `kashida` value to `text-justify`, allowing authors to justify Arabic and other cursive-script text by elongating connections within words. The inherited `text-kashida-space` percentage controls how justification space is divided between kashida elongation and inter-word spacing. CL: https://chromium-review.googlesource.com/c/chromium/src/+/7957320 Launch Chromium with: --enable-blink-features=CSSTextJustifyKashida,CSSTextKashidaSpace Then visit: https://static.januschka.com/i-41431127/

Motivation

Browsers currently justify Arabic and other cursive scripts primarily by widening spaces between words. Typographically, these scripts commonly justify text by elongating the connecting strokes within words. Web authors have no way to request this behavior in Chromium or control the split between elongation and word spacing. Internet Explorer and EdgeHTML previously supported `text-justify: kashida` and `text-kashida-space`, and content written for that behavior now silently falls back to Latin-style word spacing. This feature restores an author-controlled mechanism while keeping inserted tatweels confined to the shaping buffer, so DOM text, selection, search, copying, accessibility, and editing remain unchanged.

Standards & signals

Ecosystem

Samples: https://static.januschka.com/i-41431127

Explainers: https://static.januschka.com/i-41431127/index.html

View on chromestatus.com