-
Notifications
You must be signed in to change notification settings - Fork 756
Description
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: autobehavior should be the same astext-spacing-trim: trim-autoor typographically higher quality defined by UA/platform. -
The
text-autospace: autobehavior should be the same astext-autospace: ideograph-alpha ideograph-numeric punctuationor typographically higher quality defined by UA/platform.