Skip to content

[css-text-4] Should no-compress be a value of text-space? #7079

Open

Description

@r12a

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.

Activity

  1. added
    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.
    on Feb 22, 2022
  2. fantasai commented on Feb 28, 2022

    @fantasai
    Collaborator

    @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.

  3. added a commit that references this issue on Feb 21, 2023
  4. fantasai commented on Feb 28, 2023

    @fantasai
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions