You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-text-4] Should no-compress be a value of text-space? #7079
10.2. Character Class Spacing: the text-spacing property
no-compress
Justification must not compress text-spacing. (If this value is not specified, the justification process may reduce autospacing except when the spacing is at the start or end of the line.)
Suppressing compression is an odd man out here, since it has to do with justification. I see justification as something that is applied to the text after the text-space adjustments have been applied (or not). Seems like it would be more intuitive to make no-compress an optional value for text-justify, rather than one for text-space.
@r12a The no-compress option here is specifically about the extra space added by text-spacing, and not about whether compression is allowed in general.
Fixed in 2966104 by moving no-compress to text-justify.
However this opens up a couple questions:
If it's restricted to controlling the spacing managed by text-spacing and not spacing in general, should the keyword be renamed to something more specific? (To what, specifically?)
Alternatively, should no-compress shut off all justification compression?
It might be good to hear from JLTF &co what sort of control is desired here. I'll note that the inter-script autospace values introduced by CSS are fairly minimal (1/8em, to be conservative) so probably shouldn't be compressed much more than they are in any case.
Activity
fantasai commentedon Feb 28, 2022
@r12a The
no-compressoption here is specifically about the extra space added bytext-spacing, and not about whether compression is allowed in general.[css-text-4] Redesign text-spacing
fantasai commentedon Feb 28, 2023
Fixed in 2966104 by moving
no-compresstotext-justify.However this opens up a couple questions:
text-spacingand not spacing in general, should the keyword be renamed to something more specific? (To what, specifically?)no-compressshut off all justification compression?It might be good to hear from JLTF &co what sort of control is desired here. I'll note that the inter-script autospace values introduced by CSS are fairly minimal (1/8em, to be conservative) so probably shouldn't be compressed much more than they are in any case.