Closed Bug 1869577 Opened 2 years ago Closed 1 month ago

Implement text-autospace CSS property

Categories

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

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: Coelacanthus, Unassigned)

References

(Depends on 5 open bugs, Blocks 3 open bugs, )

Details

(Keywords: dev-doc-needed, parity-safari, web-feature, Whiteboard: [jp-reserve])

User Story

web-feature: text-autospace

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
Status: UNCONFIRMED → NEW
Ever confirmed: true
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
Depends on: 1990319
Depends on: 1990258
No longer depends on: 1977147
Depends on: 2005624
Depends on: 2005629
User Story: (updated)
Keywords: web-feature
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.