Skip to content

Commit 41043b0

Browse files
committed
[css-text-3] Allow one-side-ambiguous segment transformation to drop segment break if language context is CJY. #337 <https://lists.w3.org/Archives/Public/www-style/2016Oct/0068.html>
1 parent 0cd2f63 commit 41043b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-text-3/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,12 @@ Languages and Typesetting</h4>
669669
the character before and after the segment break is <code>F</code>,
670670
<code>W</code>, or <code>H</code> (not <code>A</code>),
671671
and neither side is Hangul, then the segment break is removed.
672+
<li>Otherwise, if the <a>East Asian Width property</a> [[!UAX11]] of either
673+
the character before or after the segment break is <code>A</code>
674+
and that character’s <a>content language</a> is Chinese, Japanese, or Yi,
675+
and the character on the other side of the segment break is
676+
<code>F</code>, <code>W</code>, or <code>H</code>,
677+
and not Hangul, then the segment break is removed.
672678
<li>Otherwise, the segment break is converted to a space (U+0020).
673679
</ul>
674680

@@ -2385,6 +2391,7 @@ Changes</h2>
23852391
<li>For ''word-break: break-all'', switched to UAX14 notion of “letters”,
23862392
since that handles symbols better.
23872393
<li>Added ''line-break: anywhere''.
2394+
<li>Tweaked handling of Ambiguous characters during <a href="#line-break-transform">segment break transformation</a> to respond to language context.
23882395
</ul>
23892396

23902397
<h3 class="no-num" id="changes-2013">

0 commit comments

Comments
 (0)