Skip to content

Commit bf28640

Browse files
committed
[css-text-decor] Clean up markup.
1 parent a1b377c commit bf28640

File tree

2 files changed

+45
-45
lines changed

2 files changed

+45
-45
lines changed

css-text-decor-3/Overview.bs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -238,21 +238,21 @@ Text Decoration Lines: the 'text-decoration-line' property</h3>
238238
Specifies what line decorations, if any, are added to the element.
239239
Values have the following meanings:
240240

241-
<dl>
242-
<dt><dfn value for="text-decoration-line">none</dfn>
241+
<dl dfn-type=value dfn-for=text-decoration-line>
242+
<dt><dfn>none</dfn>
243243
<dd>
244244
Neither produces nor inhibits text decoration.
245-
<dt><dfn value for="text-decoration-line">underline</dfn>
245+
<dt><dfn>underline</dfn>
246246
<dd>
247247
Each line of text is underlined.
248-
<dt><dfn value for="text-decoration-line">overline</dfn>
248+
<dt><dfn>overline</dfn>
249249
<dd>
250250
Each line of text has a line over it (i.e. on the opposite
251251
side from an underline).
252-
<dt><dfn value for="text-decoration-line">line-through</dfn>
252+
<dt><dfn>line-through</dfn>
253253
<dd>
254254
Each line of text has a line through the middle.
255-
<dt><dfn value for="text-decoration-line">blink</dfn>
255+
<dt><dfn>blink</dfn>
256256
<dd>
257257
The text blinks (alternates between visible and invisible).
258258
Conforming user agents may simply not blink the text.
@@ -369,8 +369,8 @@ Text Underline Position: the 'text-underline-position' property</h3>
369369

370370
Values have the following meanings:
371371

372-
<dl>
373-
<dt><dfn id="underline-auto" value for="text-underline-position">auto</dfn>
372+
<dl dfn-type=value dfn-for=text-underline-position>
373+
<dt><dfn id="underline-auto">auto</dfn>
374374
<dd>
375375
The user agent may use any algorithm to determine the
376376
underline's position; however it must be placed at or under
@@ -395,7 +395,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
395395
<p class="caption">A typical “alphabetic” underline is positioned just below the alphabetic baseline
396396
</div>
397397

398-
<dt><dfn id="underline-under" value for="text-underline-position">under</dfn>
398+
<dt><dfn id="underline-under">under</dfn>
399399
<dd>
400400
The underline is positioned <i>under</i> the element's text content.
401401
In this case the underline usually does not cross the descenders.
@@ -425,15 +425,15 @@ Text Underline Position: the 'text-underline-position' property</h3>
425425
as some fonts have descenders or diacritics
426426
that extend below the font’s descent metrics.
427427

428-
<dt><dfn id="underline-left" value for="text-underline-position">left</dfn>
428+
<dt><dfn id="underline-left">left</dfn>
429429
<dd>
430430
In vertical <a>typographic modes</a>, the underline is aligned as for
431431
''text-underline-position/under'', except it is always aligned to the left edge of the text.
432432
If this causes the underline to be drawn on the "over" side of
433433
the text, then an overline also switches sides and is drawn on
434434
the "under" side.
435435

436-
<dt><dfn id="underline-right" value for="text-underline-position">right</dfn>
436+
<dt><dfn id="underline-right">right</dfn>
437437
<dd>
438438
In vertical <a>typographic modes</a>, the underline is aligned as for
439439
''text-underline-position/under'', except it is always aligned to the right edge of the text.
@@ -578,37 +578,37 @@ Emphasis Mark Style: the 'text-emphasis-style' property</h3>
578578
This property applies emphasis marks to the element's text.
579579
Values have the following meanings:
580580

581-
<dl>
582-
<dt><dfn value for="text-text-emphasis-style">none</dfn>
581+
<dl dfn-type=value dfn-for=text-emphasis-style>
582+
<dt><dfn>none</dfn>
583583
<dd>No emphasis marks.
584584

585-
<dt><dfn value for="text-text-emphasis-style">filled</dfn>
585+
<dt><dfn>filled</dfn>
586586
<dd>The shape is filled with solid color.
587587

588588
<dt><dfn value for="text-text-emphasis">open</dfn>
589589
<dd>The shape is hollow.
590590

591-
<dt><dfn value for="text-text-emphasis-style">dot</dfn>
591+
<dt><dfn>dot</dfn>
592592
<dd>Display small circles as marks.
593593
The filled dot is U+2022 '&#x2022;', and the open dot is U+25E6 '&#x25e6;'.
594594

595-
<dt><dfn value for="text-text-emphasis-style">circle</dfn>
595+
<dt><dfn>circle</dfn>
596596
<dd>Display large circles as marks.
597597
The filled circle is U+25CF '&#x25cf;', and the open circle is U+25CB '&#x25cb;'.
598598

599-
<dt><dfn value for="text-text-emphasis-style">double-circle</dfn>
599+
<dt><dfn>double-circle</dfn>
600600
<dd>Display double circles as marks.
601601
The filled double-circle is U+25C9 '&#x25c9;', and the open double-circle is U+25CE '&#x25ce;'.
602602

603-
<dt><dfn value for="text-text-emphasis-style">triangle</dfn>
603+
<dt><dfn>triangle</dfn>
604604
<dd>Display triangles as marks.
605605
The filled triangle is U+25B2 '&#x25b2;', and the open triangle is U+25B3 '&#x25b3;'.
606606

607-
<dt><dfn value for="text-text-emphasis-style">sesame</dfn>
607+
<dt><dfn>sesame</dfn>
608608
<dd>Display sesames as marks.
609609
The filled sesame is U+FE45 '&#xfe45;', and the open sesame is U+FE46 '&#xfe46;'.
610610

611-
<dt><dfn value for="text-text-emphasis-style"><<string>></dfn>
611+
<dt><dfn><<string>></dfn>
612612
<dd>Display the given string as marks.
613613
Authors should not specify more than one <i>character</i> in &lt;string&gt;.
614614
The UA may truncate or ignore strings consisting of more than one grapheme cluster.
@@ -732,17 +732,17 @@ Emphasis Mark Position: the 'text-emphasis-position' property</h3>
732732
If ''[ right | left ]'' is omitted, it defaults to ''text-emphasis-position/right''.
733733
The values have following meanings:
734734

735-
<dl>
736-
<dt><dfn value for="text-text-emphasis-position">over</dfn>
735+
<dl dfn-type=value dfn-for=text-emphasis-position>
736+
<dt><dfn>over</dfn>
737737
<dd>Draw marks over the text in horizontal <a>typographic modes</a>.
738738

739-
<dt><dfn value for="text-text-emphasis-position">under</dfn>
739+
<dt><dfn>under</dfn>
740740
<dd>Draw marks under the text in horizontal <a>typographic modes</a>.
741741

742-
<dt><dfn value for="text-text-emphasis-position">right</dfn>
742+
<dt><dfn>right</dfn>
743743
<dd>Draw marks to the right of the text in vertical <a>typographic modes</a>.
744744

745-
<dt><dfn value for="text-text-emphasis-position">left</dfn>
745+
<dt><dfn>left</dfn>
746746
<dd>Draw marks to the left of the text in vertical <a>typographic modes</a>.
747747
</dl>
748748

css-text-decor-4/Overview.bs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ Text Underline Position: the 'text-underline-position' property</h3>
493493

494494
Values have the following meanings:
495495

496-
<dl>
497-
<dt><dfn id="underline-auto" value for="text-underline-position">auto</dfn>
496+
<dl dfn-type=value dfn-for=text-underline-position>
497+
<dt><dfn id="underline-auto">auto</dfn>
498498
<dd>
499499
The user agent may use any algorithm to determine the
500500
underline's position; however it must be placed at or under
@@ -519,7 +519,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
519519
<p class="caption">A typical “alphabetic” underline is positioned just below the alphabetic baseline
520520
</div>
521521

522-
<dt><dfn id="underline-under" value for="text-underline-position">under</dfn>
522+
<dt><dfn id="underline-under">under</dfn>
523523
<dd>
524524
The underline is positioned <i>under</i> the element's text content.
525525
In this case the underline usually does not cross the descenders.
@@ -549,15 +549,15 @@ Text Underline Position: the 'text-underline-position' property</h3>
549549
as some fonts have descenders or diacritics
550550
that extend below the font’s descent metrics.
551551

552-
<dt><dfn id="underline-left" value for="text-underline-position">left</dfn>
552+
<dt><dfn id="underline-left">left</dfn>
553553
<dd>
554554
In vertical <a>typographic modes</a>, the underline is aligned as for
555555
''text-underline-position/under'', except it is always aligned to the left edge of the text.
556556
If this causes the underline to be drawn on the "over" side of
557557
the text, then an overline also switches sides and is drawn on
558558
the "under" side.
559559

560-
<dt><dfn id="underline-right" value for="text-underline-position">right</dfn>
560+
<dt><dfn id="underline-right">right</dfn>
561561
<dd>
562562
In vertical <a>typographic modes</a>, the underline is aligned as for
563563
''text-underline-position/under'', except it is always aligned to the right edge of the text.
@@ -1001,37 +1001,37 @@ Emphasis Mark Style: the 'text-emphasis-style' property</h3>
10011001
This property applies emphasis marks to the element's text.
10021002
Values have the following meanings:
10031003

1004-
<dl>
1005-
<dt><dfn value for="text-text-emphasis-style">none</dfn>
1004+
<dl dfn-type=value dfn-for=text-emphasis-style>
1005+
<dt><dfn>none</dfn>
10061006
<dd>No emphasis marks.
10071007

1008-
<dt><dfn value for="text-text-emphasis-style">filled</dfn>
1008+
<dt><dfn>filled</dfn>
10091009
<dd>The shape is filled with solid color.
10101010

10111011
<dt><dfn value for="text-text-emphasis">open</dfn>
10121012
<dd>The shape is hollow.
10131013

1014-
<dt><dfn value for="text-text-emphasis-style">dot</dfn>
1014+
<dt><dfn>dot</dfn>
10151015
<dd>Display small circles as marks.
10161016
The filled dot is U+2022 '&#x2022;', and the open dot is U+25E6 '&#x25e6;'.
10171017

1018-
<dt><dfn value for="text-text-emphasis-style">circle</dfn>
1018+
<dt><dfn>circle</dfn>
10191019
<dd>Display large circles as marks.
10201020
The filled circle is U+25CF '&#x25cf;', and the open circle is U+25CB '&#x25cb;'.
10211021

1022-
<dt><dfn value for="text-text-emphasis-style">double-circle</dfn>
1022+
<dt><dfn>double-circle</dfn>
10231023
<dd>Display double circles as marks.
10241024
The filled double-circle is U+25C9 '&#x25c9;', and the open double-circle is U+25CE '&#x25ce;'.
10251025

1026-
<dt><dfn value for="text-text-emphasis-style">triangle</dfn>
1026+
<dt><dfn>triangle</dfn>
10271027
<dd>Display triangles as marks.
10281028
The filled triangle is U+25B2 '&#x25b2;', and the open triangle is U+25B3 '&#x25b3;'.
10291029

1030-
<dt><dfn value for="text-text-emphasis-style">sesame</dfn>
1030+
<dt><dfn>sesame</dfn>
10311031
<dd>Display sesames as marks.
10321032
The filled sesame is U+FE45 '&#xfe45;', and the open sesame is U+FE46 '&#xfe46;'.
10331033

1034-
<dt><dfn value for="text-text-emphasis-style"><<string>></dfn>
1034+
<dt><dfn><<string>></dfn>
10351035
<dd>Display the given string as marks.
10361036
Authors should not specify more than one <i>character</i> in &lt;string&gt;.
10371037
The UA may truncate or ignore strings consisting of more than one grapheme cluster.
@@ -1155,17 +1155,17 @@ Emphasis Mark Position: the 'text-emphasis-position' property</h3>
11551155
If ''[ right | left ]'' is omitted, it defaults to ''text-emphasis-position/right''.
11561156
The values have following meanings:
11571157

1158-
<dl>
1159-
<dt><dfn value for="text-text-emphasis-position">over</dfn>
1158+
<dl dfn-type=value dfn-for=text-emphasis-position>
1159+
<dt><dfn>over</dfn>
11601160
<dd>Draw marks over the text in horizontal <a>typographic modes</a>.
11611161

1162-
<dt><dfn value for="text-text-emphasis-position">under</dfn>
1162+
<dt><dfn>under</dfn>
11631163
<dd>Draw marks under the text in horizontal <a>typographic modes</a>.
11641164

1165-
<dt><dfn value for="text-text-emphasis-position">right</dfn>
1165+
<dt><dfn>right</dfn>
11661166
<dd>Draw marks to the right of the text in vertical <a>typographic modes</a>.
11671167

1168-
<dt><dfn value for="text-text-emphasis-position">left</dfn>
1168+
<dt><dfn>left</dfn>
11691169
<dd>Draw marks to the left of the text in vertical <a>typographic modes</a>.
11701170
</dl>
11711171

@@ -1849,7 +1849,7 @@ The following features have been added since <a href="https://www.w3.org/TR/css-
18491849

18501850
<ul>
18511851
<li>Added ''spelling-error'' and ''grammar-error'' values to 'text-decoration-line'.
1852-
<li>Added 'text-decoration-thickness' and 'text-decoration-offset' properties.
1852+
<li>Added 'text-decoration-thickness' and 'text-underline-offset' properties.
18531853
<li>Drafted 'text-emphasis-skip' property.
18541854
<li>Added [=spread distance=] value to 'text-shadow'.
18551855
</ul>

0 commit comments

Comments
 (0)