Skip to content

Commit 33fbc16

Browse files
committed
[css-text-decor-3] Tweak note markup. No spec prose changes.
1 parent b32b070 commit 33fbc16

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

css-text-decor-3/Overview.bs

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
376376
underline's position; however it must be placed at or under
377377
the alphabetic baseline.
378378

379-
<p class="note">It is suggested that the default underline position
379+
Note: It is suggested that the default underline position
380380
be close to the alphabetic baseline,
381381
unless that would either cross subscripted (or otherwise lowered) text
382382
or draw over glyphs from Asian scripts such as Han or Tibetan
@@ -636,10 +636,13 @@ Determining the Position and Thickness of Line Decorations</h3>
636636
or appropriate alphabetic underline position)
637637
from the font wherever appropriate.
638638

639-
<p class="note">Typically, OpenType font metrics give the position of an ''text-underline-position/alphabetic'' underline;
640-
in some cases (especially in CJK fonts), it gives the position of a ''under left'' underline.
641-
(In this case, the font's underline metrics typically touch the bottom edge of the em box).
642-
The UA may but is not required to correct for incorrect font metrics.
639+
Note: Typically, OpenType font metrics give the position
640+
of an ''text-underline-position/alphabetic'' underline;
641+
in some cases (especially in CJK fonts),
642+
it gives the position of a ''under left'' underline.
643+
(In this case, the font's underline metrics typically
644+
touch the bottom edge of the em box).
645+
The UA may but is not required to correct for incorrect font metrics.
643646

644647
<h2 id="emphasis-marks">
645648
Emphasis Marks</h2>
@@ -727,8 +730,7 @@ Emphasis Mark Style: the 'text-emphasis-style' property</h3>
727730
is undefined in this level
728731
(but may be defined in a future level if definitive use cases arise).
729732

730-
<p class="note">
731-
One example of good fonts for emphasis marks is Adobe's opensource project,
733+
Note: One example of good fonts for emphasis marks is Adobe's open source
732734
<a href="https://github.com/adobe-fonts/kenten-generic">Kenten Generic OpenType Font</a>,
733735
which is specially designed for the emphasis marks.
734736

@@ -789,11 +791,10 @@ Emphasis Mark Color: the 'text-emphasis-color' property</h3>
789791

790792
This property specifies the foreground color of the emphasis marks.
791793

792-
<p class="note">
793-
The ''currentcolor'' keyword computes to itself
794-
and is resolved to the value of 'color' after inheritance is performed.
795-
This means 'text-emphasis-color' by default matches the text 'color'
796-
even as 'color' changes across elements.
794+
Note: ''currentcolor'' keyword computes to itself
795+
and is resolved to the value of 'color' after inheritance is performed.
796+
This means 'text-emphasis-color' by default matches the text 'color'
797+
even as 'color' changes across elements.
797798

798799
<h3 id="text-emphasis-property">
799800
Emphasis Mark Shorthand: the 'text-emphasis' property</h3>
@@ -809,9 +810,9 @@ Emphasis Mark Shorthand: the 'text-emphasis' property</h3>
809810
Omitted values are set to their initial values.
810811

811812
<p class="note">Note that 'text-emphasis-position' is not reset in this
812-
shorthand. This is because typically the shape and color vary, but the
813-
position is consistent for a particular language throughout the document.
814-
Therefore the position should inherit independently.
813+
shorthand. This is because typically the shape and color vary, but the
814+
position is consistent for a particular language throughout the document.
815+
Therefore the position should inherit independently.
815816

816817
<h3 id="text-emphasis-position-property">
817818
Emphasis Mark Position: the 'text-emphasis-position' property</h3>
@@ -975,9 +976,9 @@ Text Shadows: the 'text-shadow' property</h2>
975976
Like 'box-shadow', text shadows do not influence layout, and do not
976977
trigger scrolling or increase the size of the <a>scrollable overflow region</a>.
977978

978-
<p class="note">The painting order of shadows defined here is the opposite
979-
of that defined in the 1998
980-
<a href="https://www.w3.org/TR/1998/REC-CSS2-19980512">CSS2 Recommendation</a>.
979+
Note: The painting order of shadows defined here is the opposite
980+
of that defined in the 1998
981+
<a href="https://www.w3.org/TR/1998/REC-CSS2-19980512">CSS2 Recommendation</a>.
981982

982983
The ''text-shadow'' property applies to both the
983984
<code>::first-line</code> and <code>::first-letter</code>

0 commit comments

Comments
 (0)