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
- Specification: https://drafts.csswg.org/css-text-4/#text-justify-property
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://issues.chromium.org/issues/41431127
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=css%2Fcss-text%2Fparsing
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+CSS%20kashida%20justification
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=CSS%20kashida%20justification
- Baseline status: https://webstatus.dev/?q=CSS%20kashida%20justification
Samples: https://static.januschka.com/i-41431127
Explainers: https://static.januschka.com/i-41431127/index.html