Skip to content

Commit 71cce33

Browse files
committed
[css-text-3] Check language on segment break, not Ambiguous character, and restrict Ambiguous characters we care about to punctuation/symbols. #337
1 parent 81d1a51 commit 71cce33

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css-text-3/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,11 @@ Characters and Letters</h3>
683683
the character before and after the segment break is <code>F</code>,
684684
<code>W</code>, or <code>H</code> (not <code>A</code>),
685685
and neither side is Hangul, then the segment break is removed.
686-
<li>Otherwise, if the <a>East Asian Width property</a> [[!UAX11]] of either
687-
the character before or after the segment break is <code>A</code>
688-
and that character’s <a>content language</a> is Chinese, Japanese, or Yi,
686+
<li>Otherwise, if the <a>content language</a> of the <a>segment break</a>
687+
is Chinese, Japanese, or Yi,
688+
and the character before or after the segment break
689+
is punctuation or a symbol (Unicode <a>general category</a> P* or S*)
690+
and has an <a>East Asian Width property</a> of <code>A</code>,
689691
and the character on the other side of the segment break is
690692
<code>F</code>, <code>W</code>, or <code>H</code>,
691693
and not Hangul, then the segment break is removed.

0 commit comments

Comments
 (0)