coderef

text-autospaceLimited availability

The text-autospace CSS property sets whether and how to insert spaces in inter-script text (such as when mixing Latin and Chinese characters) and around punctuation.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
✕Not supportedup to 155
Current: 155
Edge
✕Not supportedup to 154
Current: 154
Firefox
1–144Not supported
145+Supportedsince Nov 11, 2025
Current: 157
Safari
1–26.6Not supported
27+Supportedsince Sep 14, 2026
Current: 27
MobileChrome Android
✕Not supportedup to 155
Current: 155
Firefox Android
4–144Not supported
145+Supportedsince Nov 11, 2025
Current: 157
Safari iOS
1–26.6Not supported
27+Supportedsince Sep 14, 2026
Current: 27

How to use

Not supported in Chrome, Edge, Chrome Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: text-autospace.

Feature detection

CSS · check before using
@supports (text-autospace: initial) {
  /* styles that rely on text-autospace */
}

/* or in JavaScript */
if (CSS.supports("text-autospace", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (7). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
text-autospace14014014518.414014518.4
text-autospace.auto✕✕14518.4✕14518.4
text-autospace.ideograph-alpha✕✕14518.4✕14518.4
text-autospace.ideograph-numeric✕✕14518.4✕14518.4
text-autospace.insert✕✕14527✕14527
text-autospace.no-autospace14014014518.414014518.4
text-autospace.normal14014014518.414014518.4