Skip to content

Commit 22ed0ce

Browse files
committed
[css-text-decor] Add rule to use ruby variants for emphasis marks, per Ken Lunde's advice <https://lists.w3.org/Archives/Public/www-style/2016Dec/0094.html>
1 parent 01532a1 commit 22ed0ce

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

css-text-decor/Overview.bs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -663,13 +663,15 @@ Emphasis Mark Style: the 'text-emphasis-style' property</h3>
663663
the shape keyword computes to ''circle'' in horizontal <a>typographic modes</a> and
664664
''sesame'' in vertical <a>typographic modes</a>.</p>
665665

666-
<p>The marks should be drawn using the element's font settings with its
667-
size scaled down to 50%. However, not all fonts have all these glyphs,
668-
and some fonts use inappropriate sizes for emphasis marks in these
669-
code points. The UA may opt to use a font known to be good for
670-
emphasis marks, or the marks may instead be synthesized by the UA.
671-
Marks must remain upright in vertical <a>typographic modes</a>: like CJK
672-
characters, they do not rotate to match the writing mode.</p>
666+
<p>The marks should be drawn using the element's font settings
667+
with the addition of the ''font-variant-east-asian/ruby'' feature
668+
and the size scaled down 50%.
669+
However, since not all fonts have all these glyphs,
670+
and some fonts use inappropriate sizes for emphasis marks in these code points,
671+
the UA may opt to use a font known to be good for emphasis marks,
672+
or the marks may instead be synthesized by the UA.
673+
Marks must remain upright in vertical <a>typographic modes</a>:
674+
like CJK characters, they do not rotate to match the writing mode.
673675

674676
<p class="note">
675677
One example of good fonts for emphasis marks is Adobe's opensource project,
@@ -789,7 +791,6 @@ Emphasis Mark Position: the 'text-emphasis-position' property</h3>
789791
<img alt="Emphasis marks appear on the right of each emphasized character in vertical Japanese text."
790792
title="Emphasis applied on the right of a fragment of Japanese text"
791793
src="text-emphasis-v.gif" height="89" width="34">
792-
793794
<tr>
794795
<td scope="row">Mongolian
795796
<tr>
@@ -994,4 +995,5 @@ Changes</h2>
994995
<li>Added note to indicate that initial behavior of 'text-decoration-skip' with respect to leading and trailing spaces may change.
995996
<li>Fixed “Computed value” line for 'text-shadow'.
996997
<li>Various corrections to the default UA rules for 'text-emphasis-position' and 'text-underline-position'.
998+
<li>Added rule to apply ''font-variant-east-asian/ruby'' to emphasis marks' font.
997999
</ul>

0 commit comments

Comments
 (0)