Skip to content

Commit 7a98032

Browse files
committed
[css-text-decor] Minor wording tweak
1 parent 0d2f205 commit 7a98032

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

css-text-decor/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ <h3 id="line-position">
11881188
<p>Some font formats (such as OpenType) can offer information about the
11891189
appropriate position of a line decoration. The UA should use such
11901190
information (such as the underline thickness, or appropriate alphabetic
1191-
alignment) from the font wherever appropriate.
1191+
underline position) from the font wherever appropriate.
11921192

11931193
<p class=note>Typically, OpenType font metrics give the position of an
11941194
<code class=css>alphabetic</code>’ underline; in some cases
@@ -1755,7 +1755,9 @@ <h2 id=text-shadow-property><span class=secno>4. </span> Text Shadows: the
17551755
adjacent elements belonging to the same stack level and stacking context.
17561756
(This may mean that the exact stack level of the shadows depends on
17571757
whether the element has a border or background: the exact stacking
1758-
behavior of text shadows is thus UA-defined.)
1758+
behavior of text shadows is thus UA-defined.) It is undefined whether a
1759+
given shadow layer shadows each glyph or decoration independently or if
1760+
the text and/or decorations are flattened and then shadowed.
17591761

17601762
<p>Unlike ‘<code class=property>box-shadow</code>’, text shadows are
17611763
not clipped to the shadowed shape and may show through if the text is

css-text-decor/Overview.src.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,10 @@ <h3 id="line-position">
823823
-->
824824
<p>Some font formats (such as OpenType) can offer information
825825
about the appropriate position of a line decoration.
826-
The UA should use such information (such as the underline thickness,
827-
or appropriate alphabetic alignment) from the font wherever appropriate.
826+
The UA should use such information
827+
(such as the underline thickness,
828+
or appropriate alphabetic underline position)
829+
from the font wherever appropriate.
828830

829831
<p class="note">Typically, OpenType font metrics give the position of an ''alphabetic'' underline;
830832
in some cases (especially in CJK fonts), it gives the position of a ''under left'' underline.

0 commit comments

Comments
 (0)