[csswg-drafts] [css-text] Styling of soft hyphens (#3863)

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Styling of soft hyphens ==
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](https://drafts.csswg.org/css-text-3/#propdef-hyphens) currently doesn't say.

As shown in this example, all browsers (FF, Chrome, Safari) do to 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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3863 using your GitHub account

Received on Monday, 22 April 2019 06:05:30 UTC