Open Bug 1869577 Opened 1 year ago Updated 13 days ago

Implement text-autospace CSS property

Categories

(Core :: Layout: Block and Inline, enhancement)

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

See Also: → 1951795
Blocks: 289130
Blocks: 1954542
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 1970291
Blocks: 1975406
Blocks: jp-text
Blocks: 1976362
Blocks: 1977147

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.

This property will address https://www.w3.org/International/jlreq/gap-analysis/#issue312_spacing in the Japanese Gap Analysis doc.

Depends on: 1980104
Depends on: 1980106
Depends on: 1980108
Depends on: 1980111
Whiteboard: [jp-reserve]
Depends on: 1986500
Depends on: 1987989
No longer blocks: 1976362
No longer blocks: 1970291
No longer blocks: 1957942
No longer blocks: 1954542
No longer blocks: 1975406
No longer blocks: 1977147
Depends on: 1977147
Depends on: 1975406
No longer depends on: 1977147
You need to log in before you can comment on or make changes to this bug.