File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2739,6 +2739,22 @@ Line Breaking Details</h3>
27392739 or the HTTP <code> Content-Language</code> header)
27402740 in order to obtain correct automatic hyphenation.
27412741
2742+ The character or characters visually shown due to hyphenation
2743+ at a [=hyphenation opportunity=] created by a conditional hyphen character (&shy; or U+00AD)
2744+ are inserted in-place,
2745+ and styled according to any property that applies to the conditional hyphen character.
2746+
2747+ <div class=example>
2748+ <pre><code highlight=html> ex<span style="color:red">&shy;</span>ample</code></pre>
2749+
2750+ <p> When the markup above is hyphenated, it is rendered as
2751+ <span style="display: inline-block; background: white; border: solid 1px; vertical-align: middle; padding: 0 1ch;">
2752+ ex<span style="color:red;"> -</span><br>
2753+ ample
2754+ </span>
2755+ </div>
2756+
2757+
27422758 <p> When shaping scripts such as Arabic are allowed to break within words
27432759 due to hyphenation,
27442760 the characters must still be shaped
You can’t perform that action at this time.
0 commit comments