Skip to content

Commit e8792b4

Browse files
committed
Tweaked wording and examples for the 'symbolic' type.
1 parent 4bbf66c commit e8792b4

2 files changed

Lines changed: 58 additions & 25 deletions

File tree

css3-lists/Overview.html

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,25 @@
2525

2626
<h1>CSS Lists and Counters Module Level 3</h1>
2727

28+
<<<<<<< Overview.html
29+
<h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 20 June
30+
2011</h2>
31+
=======
2832
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 June 2011</h2>
33+
>>>>>>> 1.63
2934

3035
<dl>
3136
<dt>This version:
3237

38+
<<<<<<< Overview.html
39+
<dd><a
40+
href="http://www.w3.org/TR/2011/WD-css3-lists-20110620">http://www.w3.org/TR/2011/WD-css3-lists-20110620</a></dd>
41+
<!-- <a href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a></dd>-->
42+
=======
3343
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20110614">http://www.w3.org/TR/2011/WD-css3-lists-20110614</a></dd>-->
3444
<a
3545
href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>
46+
>>>>>>> 1.63
3647

3748
<dt>Latest version:
3849

@@ -1599,10 +1610,13 @@ <h4 id=symbolic><span class=secno>8.1.4. </span> symbolic</h4>
15991610

16001611
<p>The &lsquo;<code class=css>symbolic</code>&rsquo; counter type cycles
16011612
repeatedly through its provided glyphs, doubling, tripling, etc. the
1602-
glyphs on each successive pass through the list. It can be used for
1603-
footnote-style markers, and is also sometimes used for alphabetic-style
1604-
lists for a slightly different presentation than what the &lsquo;<code
1605-
class=css>alphabetic</code>&rsquo; type presents.
1613+
glyphs on each successive pass through the list. For example, if the
1614+
original glyphs were "*" and "†", then on the second pass they would
1615+
instead be "**" and "††", while on the third they would be "***" and
1616+
"†††", etc. It can be used for footnote-style markers, and is also
1617+
sometimes used for alphabetic-style lists for a slightly different
1618+
presentation than what the &lsquo;<code class=css>alphabetic</code>&rsquo;
1619+
type presents.
16061620

16071621
<p>To construct the representation, run the following algorithm. Let
16081622
<var>length</var> be the length of the list of <a
@@ -1626,18 +1640,35 @@ <h4 id=symbolic><span class=secno>8.1.4. </span> symbolic</h4>
16261640
<p>Finally, return <var>S</var>.
16271641

16281642
<div class=example>
1629-
<p>An "unary" counter style can be defined as:</p>
1643+
<p>An "footnotes" counter style can be defined as:</p>
16301644

16311645
<pre>
1646+
<<<<<<< Overview.html
1647+
@counter-style <dfn id=footnotes>footnotes</dfn> {
1648+
=======
16321649
@counter-style <dfn id=upper-alpha-symbolic>upper-alpha-symbolic</dfn> {
1650+
>>>>>>> 1.63
16331651
type: symbolic;
1652+
<<<<<<< Overview.html
1653+
glyphs: '*' '⁑' '†' '‡';
1654+
suffix: '';
1655+
=======
16341656
glyphs: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z';
1657+
>>>>>>> 1.63
16351658
}
16361659
</pre>
16371660

16381661
<p>It will then produce lists that look like:</p>
16391662

16401663
<pre>
1664+
<<<<<<< Overview.html
1665+
*. One
1666+
⁑. Two
1667+
†. Three
1668+
‡. Four
1669+
**. Five
1670+
⁑⁑. Six
1671+
=======
16411672
A. One
16421673
B. Two
16431674
...
@@ -1648,6 +1679,7 @@ <h4 id=symbolic><span class=secno>8.1.4. </span> symbolic</h4>
16481679
ZZ. Fifty-two
16491680
AAA. Fifty-three
16501681
BBB. Fifty-four
1682+
>>>>>>> 1.63
16511683
</pre>
16521684

16531685
<p class=note>Note the difference between this and the alphabetic
@@ -2753,13 +2785,16 @@ <h3 id=predefined-symbolic><span class=secno>9.4. </span> Predefined
27532785
suffix: '';
27542786
}
27552787

2788+
<<<<<<< Overview.html
2789+
=======
27562790
@counter-style <dfn id=footnote>footnote</dfn> {
27572791
type: symbolic;
27582792
glyphs: '\2A' '\2051' '\2020' '\2021';
27592793
/* '*' '⁑' '†' '‡' */
27602794
suffix: '';
27612795
}
27622796

2797+
>>>>>>> 1.63
27632798
@counter-style <dfn id=lower-alpha-symbolic>lower-alpha-symbolic</dfn> {
27642799
type: symbolic;
27652800
glyphs: '\61' '\62' '\63' '\64' '\65' '\66' '\67' '\68' '\69' '\6A' '\6B' '\6C' '\6D' '\6E' '\6F' '\70' '\71' '\72' '\73' '\74' '\75' '\76' '\77' '\78' '\79' '\7A';
@@ -4623,8 +4658,13 @@ <h2 class=no-num id=index>Index</h2>
46234658
<li>fixed-decimal, <a href="#fixed-decimal"
46244659
title=fixed-decimal><strong>8.1.3.</strong></a>
46254660

4661+
<<<<<<< Overview.html
4662+
<li>footnotes, <a href="#footnotes"
4663+
title=footnotes><strong>8.1.4.</strong></a>
4664+
=======
46264665
<li>footnote, <a href="#footnote" title=footnote><strong>9.4.</strong></a>
46274666

4667+
>>>>>>> 1.63
46284668

46294669
<li>fullwidth-decimal, <a href="#fullwidth-decimal"
46304670
title=fullwidth-decimal><strong>9.2.</strong></a>

css3-lists/Overview.src.html

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,9 @@ <h4>
11261126

11271127
<p>The ''symbolic'' counter type cycles repeatedly through its provided glyphs,
11281128
doubling, tripling, etc. the glyphs on each successive pass through the list.
1129+
For example, if the original glyphs were "*" and "†", then on the second pass
1130+
they would instead be "**" and "††", while on the third they would be "***"
1131+
and "†††", etc.
11291132
It can be used for footnote-style markers, and is also sometimes used for
11301133
alphabetic-style lists for a slightly different presentation than what the
11311134
''alphabetic'' type presents.</p>
@@ -1147,28 +1150,25 @@ <h4>
11471150
<p>Finally, return <var>S</var>.</p>
11481151

11491152
<div class=example>
1150-
<p>An "unary" counter style can be defined as:</p>
1153+
<p>An "footnotes" counter style can be defined as:</p>
11511154

11521155
<pre>
1153-
@counter-style <dfn>upper-alpha-symbolic</dfn> {
1156+
@counter-style <dfn>footnotes</dfn> {
11541157
type: symbolic;
1155-
glyphs: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z';
1158+
glyphs: '*' '⁑' '†' '‡';
1159+
suffix: '';
11561160
}
11571161
</pre>
11581162

11591163
<p>It will then produce lists that look like:</p>
11601164

11611165
<pre>
1162-
A. One
1163-
B. Two
1164-
...
1165-
Z. Twenty-six
1166-
AA. Twenty-seven
1167-
BB. Twenty-eight
1168-
...
1169-
ZZ. Fifty-two
1170-
AAA. Fifty-three
1171-
BBB. Fifty-four
1166+
*. One
1167+
⁑. Two
1168+
†. Three
1169+
‡. Four
1170+
**. Five
1171+
⁑⁑. Six
11721172
</pre>
11731173

11741174
<p class='note'>Note the difference between this and the alphabetic
@@ -2176,13 +2176,6 @@ <h3 id='predefined-symbolic'>
21762176
suffix: '';
21772177
}
21782178

2179-
@counter-style <dfn>footnote</dfn> {
2180-
type: symbolic;
2181-
glyphs: '\2A' '\2051' '\2020' '\2021';
2182-
/* '*' '⁑' '†' '‡' */
2183-
suffix: '';
2184-
}
2185-
21862179
@counter-style <dfn>lower-alpha-symbolic</dfn> {
21872180
type: symbolic;
21882181
glyphs: '\61' '\62' '\63' '\64' '\65' '\66' '\67' '\68' '\69' '\6A' '\6B' '\6C' '\6D' '\6E' '\6F' '\70' '\71' '\72' '\73' '\74' '\75' '\76' '\77' '\78' '\79' '\7A';

0 commit comments

Comments
 (0)