Insert CJK inter-script spacing: the CSS `text-autospace` property
- Category
- CSS
- Type
- Chromium catches up
- Status
- No active development (Chrome No active development)
- Intent stage
- None
WPT details: https://wpt.fyi/results/css/css-text?label=master&label=experimental&aligned&q=text-autospace https://wpt.fyi/results/css/css-text/parsing?label=master&label=experimental&aligned&q=text-spacing%20and%20not%28text-spacing-trim%29
Summary
Inserts small spacings to match the established East Asian typographic rules automatically. Text written in Han ideographic writing systems often mixes multiple scripts, usually the Han ideographic scripts, Latin scripts, and ASCII digits. Small spacings between Han ideographic scripts and non-Han ideographic scripts often help the readability. Authors can set `text-autospace: normal` to let browsers insert such spacings automatically.
Standards & signals
- Specification: https://drafts.csswg.org/css-text-4/#text-autospace-property
- Firefox: Positive
- Safari: Shipped/Shipping
- Web developers: Positive
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1463890
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=text-autospace
- 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+Insert%20CJK%20inter-script%20spacing%3A%20the%20CSS%20%60text-autospace%60%20property
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Insert%20CJK%20inter-script%20spacing%3A%20the%20CSS%20%60text-autospace%60%20property
- Baseline status: https://webstatus.dev/?q=Insert%20CJK%20inter-script%20spacing%3A%20the%20CSS%20%60text-autospace%60%20property