Skip to content

Commit a002e12

Browse files
committed
[css-text-decor-4] Markup fixes, move a list down a bit.
1 parent f7dea62 commit a002e12

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

css-text-decor-4/Overview.bs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ Text Decoration Line Thickness: the 'text-decoration-width' property</h3>
5959
<dd>
6060
Specifies the thickness of text decoration lines as a length.
6161
The UA must floor the actual value at one device pixel.
62-
<span class="advisement">
6362
Authors are strongly encouraged to use ''em'' units
6463
so that the line thickness scales with the font.
65-
</span>
6664
</dl>
6765
6866
<h4 id="text-decoration-thickness">
@@ -102,24 +100,14 @@ Text Underline Offset: the 'text-underline-offset' property</h3>
102100
Specifies the offset of underlines as a length.
103101
This replaces any information in the font
104102
or derived from glyph shapes / character ranges.
105-
<span class="advisement">
106103
Authors are strongly encouraged to use ''em'' units
107104
so that the offset scales with the font.
108-
</span>
109105
</dl>
110106
111107
The initial position of the underline depends on the value of 'text-underline-position'
112108
as detailed below.
113109
114-
<ul>
115-
<li>The line is centered on the specified position.
116-
<li>Positive lengths represent inward distances; negative lengths outward.
117-
<li>Automatic adjustments made to accommodate descendant content are maintained;
118-
the 'text-underline-offset' is in addition to those.
119-
<span class="issue">Should this be removed?</span>
120-
</ul>
121-
122-
<table>
110+
<table class="data">
123111
<caption>Interaction of 'text-underline-position' and 'text-underline-offset'
124112
<thead>
125113
<tr>
@@ -141,6 +129,14 @@ Text Underline Offset: the 'text-underline-offset' property</h3>
141129
<td><a>under</a>
142130
</table>
143131
132+
<ul>
133+
<li>The line is centered on the specified position.
134+
<li>Positive lengths represent inward distances; negative lengths outward.
135+
<li>Automatic adjustments made to accommodate descendant content are maintained;
136+
the 'text-underline-offset' is in addition to those.
137+
<span class="issue">Should this be removed?</span>
138+
</ul>
139+
144140
<h3 id="text-decoration-skip-property">
145141
Text Decoration Line Continuity: the 'text-decoration-skip' property</h3>
146142

0 commit comments

Comments
 (0)