Skip to content

Hanging punctuation should include hyphens, particularly those used with justify [css-text-3] [css-text-4] #9329

Description

@kevinmarks

The hanging-punctuation property should include hyphens as well as stops and commas.

When text-align: justify or equivalent is active, setting hanging-punctuation: force-end should hang all hyphens, whether typed or inserted by the user agent. Ideally this would be on by default in this mode, to replicate good typographic practice with fully justified text.

This applies to css-text-4 as well, and may be more relevant there with changes to line wrapping.

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