Implement text-autospace CSS property
Categories
(Core :: Layout: Block and Inline, enhancement)
Tracking
()
People
(Reporter: Coelacanthus, Unassigned)
References
(Depends on 3 open bugs, Blocks 3 open bugs, )
Details
(Keywords: dev-doc-needed, parity-safari, Whiteboard: [jp-reserve])
This is still in draft but it would be a really good feature for web designers to achieve more graphic consistency across different browsers.
And it's important for CJK users.
Chromium has implemented it in Chrome 120.
https://developer.chrome.com/blog/css-i18n-features
https://drafts.csswg.org/css-text-4/#text-autospace-property
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Note that text-autospace has shipped in Safari 18.4, but its default value is not normal
| Comment hidden (advocacy) |
Updated•8 months ago
|
Updated•8 months ago
|
Updated•6 months ago
|
Comment 4•3 months ago
|
||
Currently there is some text-autospace behavior (though not a full implementation) in Chrome Canary; in particular, it implements auto-spacing between CJK characters and adjacent Latin text. For an example, compare the two lines of text in:
data:text/html;charset=utf-8,
<p style="text-autospace:no-autospace">hello%E4%BD%A0%E5%A5%BDworld</p>
<p style="text-autospace:normal">hello%E4%BD%A0%E5%A5%BDworld</p>
Note that there's an open issue regarding what the initial value should be.
Comment 5•3 months ago
|
||
This property will address https://www.w3.org/International/jlreq/gap-analysis/#issue312_spacing in the Japanese Gap Analysis doc.
| Comment hidden (hide) |
| Comment hidden (hide) |
Updated•3 months ago
|
Comment 8•3 months ago
|
||
There is an issue about the initial value.
Comment 9•3 months ago
|
||
Intent to prototype: CSS text-autospace property on dev-platform.
Description
•