-
Notifications
You must be signed in to change notification settings - Fork 747
Description
https://drafts.csswg.org/css-text-4/#text-spacing-property
This proposal was found in the following issue:
- In the above description of
ideographic-alpha
andideographic-numeric
, change "Creates 1/4em extra spacing between" to "Creates extra spacing between."
and this issue was resolved as:
RESOLVED: Add a new text-spacing:auto value, which is not the initial value.
I am ok with adding the auto
value, but I think it's not sufficient. Changing "Creates 1/4em extra spacing between" to "Creates extra spacing between" is still necessary.
The "1/4em extra spacing" is not the best choice in many cases, and narrower space such as 1/6em is preferred. Apple iOS seems to use 1/6em for ideographic-alpha/numeric spacing.
For the auto
value, UA can choose such better spacing value for ideographic-alpha/numeric spacing, but stylesheet authors cannot use the auto
value when they need to choose specific text-spacing style, e.g., preference between allow-end
and trim-end
, or space-first
and trim-start
. So the spacing value of ideographic-alpha
and ideographic-numeric
should be same as the spacing value for ideographic-alpha/numeric spacing with auto
.
FYI, Vivliostyle supports the text-spacing
property, with auto
value which is equivalent to trim-start trim-end trim-adjacent ideograph-alpha ideograph-numeric
and the ideograph-alpha
and ideograph-numeric
create 1/6em space. See https://docs.vivliostyle.org/#/supported-css-features#css-text-4