Skip to content

Commit a6aa4d8

Browse files
committed
[css-text-3] Emoji are Ambiguous as far as CSS is concerned.
1 parent 71cce33 commit a6aa4d8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-text-3/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -682,15 +682,18 @@ Characters and Letters</h3>
682682
<li>Otherwise, if the <a>East Asian Width property</a> [[!UAX11]] of both
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>),
685-
and neither side is Hangul, then the segment break is removed.
685+
and neither side is Hangul or Emoji (Unicode property <code>Emoji</code>),
686+
then the segment break is removed.
686687
<li>Otherwise, if the <a>content language</a> of the <a>segment break</a>
687688
is Chinese, Japanese, or Yi,
688689
and the character before or after the segment break
689690
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>,
691+
and has an <a>East Asian Width property</a> of <code>A</code>
692+
or is Emoji,
691693
and the character on the other side of the segment break is
692694
<code>F</code>, <code>W</code>, or <code>H</code>,
693-
and not Hangul, then the segment break is removed.
695+
and not Hangul or Emoji,
696+
then the segment break is removed.
694697
<li>Otherwise, the segment break is converted to a space (U+0020).
695698
</ul>
696699

0 commit comments

Comments
 (0)