[csswg-drafts] [css-text-4] The `text-spacing: auto` behavior should be made more predictable (#9857)

MurakamiShinyu has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-4] The `text-spacing: auto` behavior should be made more predictable ==
To improve typography with CSS, I would encourage people to use `text-spacing: auto`, because other `text-spacing` (or `text-spacing-trim` and `text-autospace` properties) values such as `trim-auto ideograph-alpha ideograph-numeric punctuation` will be difficult to learn. However, if the `auto` behavior varies significantly by UA/platform, it cannot be used with confidence.

The current `auto` behavior is defined as:

> The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.
> 
> NOTE: These spacing values may or may not match OS platform conventions.

(https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-auto, https://drafts.csswg.org/css-text-4/#valdef-text-autospace-auto)

I think we should add descriptions of the recommended `auto` behavior to make it more predictable. For example:

- The `text-spacing-trim: auto` behavior should be the same as `text-spacing-trim: trim-auto` or typographically higher quality defined by UA/platform.

- The `text-autospace: auto` behavior should be the same as `text-autospace: ideograph-alpha ideograph-numeric punctuation` or typographically higher quality defined by UA/platform.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9857 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 25 January 2024 09:01:09 UTC