Skip to content

[css-text-4] hyphenate-character doesn't just put hyphen at end of line  #2975

@r12a

Description

@r12a

8.1. Hyphens: the hyphenate-character property
https://drafts.csswg.org/css-text-4/#hyphenate-character

If a string is specified, it appears at the end of the line before a hyphenation break.

I can't find an example at the moment, but i'm pretty sure i have come across languages that put the hyphen at the beginning of the second line, rather than before the hyphenation break. This appears to be supported by the Unicode Standard, which says:

A common default rendering is to insert a hyphen before the line break, but this is insufficient or even incorrect in many situations.

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