W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 Apr 2019 06:05:28 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-435611221-1555913127-sysbot+gh@w3.org>
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 `&shy;` 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC