Skip to content

[css-text] Styling of soft hyphens #3863

@frivoal

Description

@frivoal

If you put a span around a ­ style it (for example, change the color), and the word does get hyphenated (due to the hyphens property being manual or auto and running out of space on the line), does the style get applied to the visible hyphen that gets inserted, or not?

The spec currently doesn't say.

As shown in this example, all browsers (FF, Chrome, Safari) do apply the style of the span around the soft hyphen onto the inserted hyphen, so I think it would make sense to spec it that way.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions