Skip to content

Commit aa9ae98

Browse files
committed
[css-text-decor] Update spec to account for sideways-lr and sideways-rl values of writing-mode.
1 parent 6d37258 commit aa9ae98

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

css-text-decor/Overview.bs

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
384384
In this case the underline usually does not cross the descenders.
385385
(This is sometimes called “accounting” underline.)
386386
This value can be combined with ''text-underline-position/left'' or ''text-underline-position/right''
387-
if a particular side is preferred in vertical writing modes.
387+
if a particular side is preferred in vertical <a>typographic modes</a>.
388388
<div class="figure">
389389
<p><img title="text-underline-position: under"
390390
alt="In a typical Latin font, the underline is far enough
@@ -403,13 +403,13 @@ Text Underline Position: the 'text-underline-position' property</h3>
403403
<pre>:root { text-underline-position: under; }</pre>
404404
</div>
405405
<dt><dfn id="underline-left" value for="text-underline-position">left</dfn></dt>
406-
<dd>In vertical writing modes, the underline is aligned as for
406+
<dd>In vertical <a>typographic modes</a>, the underline is aligned as for
407407
''text-underline-position/under'', except it is always aligned to the left edge of the text.
408408
If this causes the underline to be drawn on the "over" side of
409409
the text, then an overline also switches sides and is drawn on
410410
the "under" side.
411411
<dt><dfn id="underline-right" value for="text-underline-position">right</dfn></dt>
412-
<dd>In vertical writing modes, the underline is aligned as for
412+
<dd>In vertical <a>typographic modes</a>, the underline is aligned as for
413413
''text-underline-position/under'', except it is always aligned to the right edge of the text.
414414
If this causes the underline to be drawn on the "over" side of
415415
the text, then an overline also switches sides and is drawn on
@@ -437,9 +437,9 @@ Text Underline Position: the 'text-underline-position' property</h3>
437437
<td>''text-underline-position/left''
438438
<td>''text-underline-position/right''
439439
</table>
440-
<p class="caption">In vertical writing modes, the 'text-underline-position'
440+
<p class="caption">In vertical <a>typographic modes</a>, the 'text-underline-position'
441441
values ''text-underline-position/left'' and ''text-underline-position/right'' allow placing the underline on either
442-
side of the text. (In horizontal writing modes, both values are
442+
side of the text. (In horizontal <a>typographic modes</a>, both values are
443443
treated as ''text-underline-position/under''.)</p>
444444
</div>
445445

@@ -659,15 +659,15 @@ Emphasis Mark Style: the 'text-emphasis-style' property</h3>
659659

660660
<p>If a shape keyword is specified but neither of ''filled'' nor ''open'' is
661661
specified, ''filled'' is assumed. If only ''filled'' or ''open'' is specified,
662-
the shape keyword computes to ''circle'' in horizontal writing mode and
663-
''sesame'' in vertical writing mode.</p>
662+
the shape keyword computes to ''circle'' in horizontal <a>typographic modes</a> and
663+
''sesame'' in vertical <a>typographic modes</a>.</p>
664664

665665
<p>The marks should be drawn using the element's font settings with its
666666
size scaled down to 50%. However, not all fonts have all these glyphs,
667667
and some fonts use inappropriate sizes for emphasis marks in these
668668
code points. The UA may opt to use a font known to be good for
669669
emphasis marks, or the marks may instead be synthesized by the UA.
670-
Marks must remain upright in vertical writing modes: like CJK
670+
Marks must remain upright in vertical <a>typographic modes</a>: like CJK
671671
characters, they do not rotate to match the writing mode.</p>
672672

673673
<p class="note">
@@ -739,13 +739,13 @@ Emphasis Mark Position: the 'text-emphasis-position' property</h3>
739739

740740
<dl>
741741
<dt><dfn value for="text-text-emphasis-position">over</dfn></dt>
742-
<dd>Draw marks over the text in horizontal writing mode.</dd>
742+
<dd>Draw marks over the text in horizontal <a>typographic modes</a>.</dd>
743743
<dt><dfn value for="text-text-emphasis-position">under</dfn></dt>
744-
<dd>Draw marks under the text in horizontal writing mode.</dd>
744+
<dd>Draw marks under the text in horizontal <a>typographic modes</a>.</dd>
745745
<dt><dfn value for="text-text-emphasis-position">right</dfn></dt>
746-
<dd>Draw marks to the right of the text in vertical writing mode.</dd>
746+
<dd>Draw marks to the right of the text in vertical <a>typographic modes</a>.</dd>
747747
<dt><dfn value for="text-text-emphasis-position">left</dfn></dt>
748-
<dd>Draw marks to the left of the text in vertical writing mode.</dd>
748+
<dd>Draw marks to the left of the text in vertical <a>typographic modes</a>.</dd>
749749
</dl>
750750

751751
<p>Emphasis marks are drawn exactly as if each character was
@@ -919,6 +919,9 @@ Changes</h2>
919919
<ul>
920920
<li>Specified that line-throughs are unaffected by 'text-decoration-skip: ink'.
921921
(<a href="https://github.com/w3c/csswg-drafts/issues/711">Issue 771</a>)
922+
<li>Updated writing-mode&ndash;sensitive conditions to depend on <a>typographic mode</a>,
923+
to account for addition of ''sideways-lr'' and ''sideways-rl'' values to 'writing-mode' property.
924+
(<a href="https://www.w3.org/mid/56E86D82.10606@inkedblade.net">Issue</a>)
922925
</ul>
923926

924927
<h2 class="no-num" id="default-stylesheet">

0 commit comments

Comments
 (0)