Skip to content

Commit 2719a86

Browse files
committed
Update text-decoration-line with f2f feedback
1 parent a916599 commit 2719a86

2 files changed

Lines changed: 61 additions & 37 deletions

File tree

css3-text/Overview.html

Lines changed: 45 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 July 2011</h2>
9090
<dt>This version:
9191

9292
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
93-
2011/07/24 23:27:22 $ (CVS $Revision$)</a> <!--
93+
2011/07/25 01:19:21 $ (CVS $Revision$)</a> <!--
9494
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110725/">http://www.w3.org/TR/2011/WD-css3-text-20110725/</a></dd>
9595
-->
9696

@@ -4277,8 +4277,9 @@ <h4 id=text-decoration-line><span class=secno>10.1.1. </span> Text
42774277
<tr>
42784278
<th>Value:
42794279

4280-
<td>none | underline || overline || line-through || [ cancel-underline
4281-
|| cancel-overline || cancel-line-through | cancel-all ]
4280+
<td>none | [ underline | no-underline | replace-underline ] || [
4281+
overline | no-overline | replace-overline ] || [ line-through |
4282+
no-line-through | replace-line-through ] | remove-all
42824283

42834284
<tr>
42844285
<th>Initial:
@@ -4323,35 +4324,43 @@ <h4 id=text-decoration-line><span class=secno>10.1.1. </span> Text
43234324

43244325
<dd>Each line of text is underlined.
43254326

4326-
<dt><dfn id=cancel-underline>cancel-underline</dfn>
4327+
<dt><dfn id=no-underline>no-underline</dfn>
43274328

43284329
<dd>Inhibits propagated underlines.
43294330

4331+
<dt><dfn id=replace-underline>replace-underline</dfn>
4332+
4333+
<dd>Inhibits propagated underlines and produces an underline.
4334+
43304335
<dt><dfn id=overline>overline</dfn>
43314336

43324337
<dd>Each line of text has a line above it (i.e. on the opposite side from
43334338
an underline).
43344339

4335-
<dt><dfn id=cancel-overline>cancel-overline</dfn>
4340+
<dt><dfn id=no-overline>no-overline</dfn>
43364341

43374342
<dd>Inhibits propagated overlines.
43384343

4344+
<dt><dfn id=replace-overline>replace-overline</dfn>
4345+
4346+
<dd>Inhibits propagated overlines and produces an overline.
4347+
43394348
<dt><dfn id=line-through>line-through</dfn>
43404349

43414350
<dd>Each line of text has a line through the middle.
43424351

4343-
<dt><dfn id=cancel-line-through>cancel-line-through</dfn>
4352+
<dt><dfn id=no-line-through>no-line-through</dfn>
43444353

43454354
<dd>Inhibits propagated line-throughs.
43464355

4347-
<dt><dfn id=cancel-all>cancel-all</dfn>
4356+
<dt><dfn id=replace-line-through>replace-line-through</dfn>
43484357

4349-
<dd>Inhibits propagated text decorations.
4350-
</dl>
4358+
<dd>Inhibits propagated line-throughs and produces an line-through.
43514359

4352-
<p class=issue>The use of "cancel-" instead of "no-" is incompatible with
4353-
XSL. It was motivated by the desire to make <code>text-decoration:
4354-
underline no-underline</code> less nonsensical.
4360+
<dt><dfn id=remove-all>remove-all</dfn>
4361+
4362+
<dd>Inhibits all propagated text decorations.
4363+
</dl>
43554364

43564365
<h4 id=text-decoration-color><span class=secno>10.1.2. </span> Text
43574366
Decoration Color: the &lsquo;<a href="#text-decoration-color0"><code
@@ -6422,8 +6431,9 @@ <h2 class=no-num id=appendix-h-full-property-index>Appendix H: Full
64226431
<td><a class=property
64236432
href="#text-decoration-line0">text-decoration-line</a>
64246433

6425-
<td>none | underline || overline || line-through || [ cancel-underline
6426-
|| cancel-overline || cancel-line-through | cancel-all ]
6434+
<td>none | [ underline | no-underline | replace-underline ] || [
6435+
overline | no-overline | replace-overline ] || [ line-through |
6436+
no-line-through | replace-line-through ] | remove-all
64276437

64286438
<td>none
64296439

@@ -6746,18 +6756,6 @@ <h2 class=no-num id=index>Appendix I: Index</h2>
67466756
<li>block scripts, <a href="#block-scripts0" title="block
67476757
scripts"><strong>#</strong></a>
67486758

6749-
<li>cancel-all, <a href="#cancel-all"
6750-
title=cancel-all><strong>10.1.1.</strong></a>
6751-
6752-
<li>cancel-line-through, <a href="#cancel-line-through"
6753-
title=cancel-line-through><strong>10.1.1.</strong></a>
6754-
6755-
<li>cancel-overline, <a href="#cancel-overline"
6756-
title=cancel-overline><strong>10.1.1.</strong></a>
6757-
6758-
<li>cancel-underline, <a href="#cancel-underline"
6759-
title=cancel-underline><strong>10.1.1.</strong></a>
6760-
67616759
<li>character, <a href="#character"
67626760
title=character><strong>1.</strong></a>
67636761

@@ -6870,6 +6868,9 @@ <h2 class=no-num id=index>Appendix I: Index</h2>
68706868
<li>line-through, <a href="#line-through"
68716869
title=line-through><strong>10.1.1.</strong></a>
68726870

6871+
<li>no-line-through, <a href="#no-line-through"
6872+
title=no-line-through><strong>10.1.1.</strong></a>
6873+
68736874
<li>&lsquo;<code class=css>none</code>&rsquo;, <a href="#none0"
68746875
title="''none''"><strong>5.5.</strong></a>
68756876

@@ -6879,6 +6880,12 @@ <h2 class=no-num id=index>Appendix I: Index</h2>
68796880
<li>Non-ideographic numerals, <a href="#non-ideographic-numerals"
68806881
title="Non-ideographic numerals"><strong>8.3.2.</strong></a>
68816882

6883+
<li>no-overline, <a href="#no-overline"
6884+
title=no-overline><strong>10.1.1.</strong></a>
6885+
6886+
<li>no-underline, <a href="#no-underline"
6887+
title=no-underline><strong>10.1.1.</strong></a>
6888+
68826889
<li>overflow-wrap, <a href="#overflow-wrap0"
68836890
title=overflow-wrap><strong>6.2.</strong></a>
68846891

@@ -6903,6 +6910,18 @@ <h2 class=no-num id=index>Appendix I: Index</h2>
69036910
<li>preserved, <a href="#preserved"
69046911
title=preserved><strong>3.3.</strong></a>
69056912

6913+
<li>remove-all, <a href="#remove-all"
6914+
title=remove-all><strong>10.1.1.</strong></a>
6915+
6916+
<li>replace-line-through, <a href="#replace-line-through"
6917+
title=replace-line-through><strong>10.1.1.</strong></a>
6918+
6919+
<li>replace-overline, <a href="#replace-overline"
6920+
title=replace-overline><strong>10.1.1.</strong></a>
6921+
6922+
<li>replace-underline, <a href="#replace-underline"
6923+
title=replace-underline><strong>10.1.1.</strong></a>
6924+
69066925
<li>&lt;shadow&gt;, <a href="#ltshadowgt"
69076926
title="&lt;shadow&gt;"><strong>10.3.</strong></a>
69086927

css3-text/Overview.src.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3182,8 +3182,11 @@ <h4 id="text-decoration-line">
31823182
</tr>
31833183
<tr>
31843184
<th>Value:</th>
3185-
<td>none | underline || overline || line-through ||
3186-
[ cancel-underline || cancel-overline || cancel-line-through | cancel-all ]
3185+
<td>none |
3186+
[ underline | no-underline | replace-underline ] ||
3187+
[ overline | no-overline | replace-overline ] ||
3188+
[ line-through | no-line-through | replace-line-through ] |
3189+
remove-all
31873190
</td>
31883191
</tr>
31893192
<tr>
@@ -3221,25 +3224,27 @@ <h4 id="text-decoration-line">
32213224
<dd>Neither produces nor inhibits text decoration.
32223225
<dt><dfn>underline</dfn>
32233226
<dd>Each line of text is underlined.
3224-
<dt><dfn>cancel-underline</dfn>
3227+
<dt><dfn>no-underline</dfn>
32253228
<dd>Inhibits propagated underlines.
3229+
<dt><dfn>replace-underline</dfn>
3230+
<dd>Inhibits propagated underlines and produces an underline.
32263231
<dt><dfn>overline</dfn>
32273232
<dd>Each line of text has a line above it (i.e. on the opposite
32283233
side from an underline).
3229-
<dt><dfn>cancel-overline</dfn>
3234+
<dt><dfn>no-overline</dfn>
32303235
<dd>Inhibits propagated overlines.
3236+
<dt><dfn>replace-overline</dfn>
3237+
<dd>Inhibits propagated overlines and produces an overline.
32313238
<dt><dfn>line-through</dfn>
32323239
<dd>Each line of text has a line through the middle.
3233-
<dt><dfn>cancel-line-through</dfn>
3240+
<dt><dfn>no-line-through</dfn>
32343241
<dd>Inhibits propagated line-throughs.
3235-
<dt><dfn>cancel-all</dfn>
3236-
<dd>Inhibits propagated text decorations.
3242+
<dt><dfn>replace-line-through</dfn>
3243+
<dd>Inhibits propagated line-throughs and produces an line-through.
3244+
<dt><dfn>remove-all</dfn>
3245+
<dd>Inhibits all propagated text decorations.
32373246
</dl>
32383247

3239-
<p class="issue">The use of "cancel-" instead of "no-" is incompatible
3240-
with XSL. It was motivated by the desire to make
3241-
<code>text-decoration: underline no-underline</code> less nonsensical.
3242-
32433248
<h4 id="text-decoration-color">
32443249
Text Decoration Color: the 'text-decoration-color' property</h4>
32453250

0 commit comments

Comments
 (0)