@@ -29,13 +29,12 @@ <h1>Additional Predefined Counter Styles for CSS</h1>
2929 <!--begin-copyright-->
3030 < p class =copyright > < a
3131 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "
32- rel =license > Copyright</ a > © 2011 < a
33- href ="http://www.w3.org/ "> < acronym
34- title ="World Wide Web Consortium "> W3C</ acronym > </ a > < sup > ®</ sup > (< a
35- href ="http://www.csail.mit.edu/ "> < acronym
36- title ="Massachusetts Institute of Technology "> MIT</ acronym > </ a > , < a
37- href ="http://www.ercim.eu/ "> < acronym
38- title ="European Research Consortium for Informatics and Mathematics "> ERCIM</ acronym > </ a > ,
32+ rel =license > Copyright</ a > © 2012 < a href ="http://www.w3.org/ "> < abbr
33+ title ="World Wide Web Consortium "> W3C</ abbr > </ a > < sup > ®</ sup > (< a
34+ href ="http://www.csail.mit.edu/ "> < abbr
35+ title ="Massachusetts Institute of Technology "> MIT</ abbr > </ a > , < a
36+ href ="http://www.ercim.eu/ "> < abbr
37+ title ="European Research Consortium for Informatics and Mathematics "> ERCIM</ abbr > </ a > ,
3938 < a href ="http://www.keio.ac.jp/ "> Keio</ a > ), All Rights Reserved. W3C < a
4039 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer "> liability</ a > ,
4140 < a
@@ -72,9 +71,8 @@ <h2 class="no-num no-toc" id=status> Status of this document</h2>
7271 www-style@w3.org</ a > (see < a
7372 href ="http://www.w3.org/Mail/Request "> instructions</ a > ) is preferred for
7473 discussion of this specification. When sending e-mail, please put the text
75- “unknown-shortname” in the subject, preferably like this:
76- “[<!----> unknown-shortname<!----> ] < em > …summary of
77- comment…</ em > ”
74+ “unknown-shortname” in the subject, preferably like this:
75+ “[<!----> unknown-shortname<!----> ] < em > …summary of comment…</ em > ”
7876
7977 < p > This document was produced by the < a href ="/Style/CSS/members "> CSS
8078 Working Group</ a > (part of the < a href ="/Style/ "> Style Activity</ a > ).
@@ -125,8 +123,7 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
125123 symbols</ a >
126124
9E71
127125 < li > < a href ="#ethiopic-numeric "> < span class =secno > 2.2. </ span > The
128- ‘< code class =property > ethiopic-numeric</ code > ’ counter
129- style</ a >
126+ ‘< code class =property > ethiopic-numeric</ code > ’ counter style</ a >
130127
131128 < li > < a href ="#cjk-counter-styles "> < span class =secno > 2.3. </ span > The
132129 Chinese longhand counter styles</ a >
@@ -158,10 +155,10 @@ <h2 id=ua-stylesheet><span class=secno>1. </span> Predefined Counter Styles</h2>
158155 following stylesheet as a user-agent stylesheet, so authors can depend on
159156 these styles being present.
160157
161- < p > As with any ‘ < code class =css > @counter-style</ code > ’ rule,
162- the counter style definitions given here can be overridden by the author
163- if they desire to attach a different style to a counter style name defined
164- in this stylesheet.
158+ < p > As with any ‘ < code class =css > @counter-style</ code > ’ rule, the
159+ counter style definitions given here can be overridden by the author if
160+ they desire to attach a different style to a counter style name defined in
161+ this stylesheet.
165162
166163 < p class =issue > Should this chapter and the next be made an informative
167164 appendix rather than a required UA stylesheet?
@@ -212,8 +209,8 @@ <h3 id=predefined-repeating><span class=secno>1.1. </span> Predefined
212209@counter-style < dfn
213210 id =dash > dash</ dfn > {
214211 type: repeating;
215- symbols: '\2014 ';
216- /* '— ' */
212+ symbols: '\2043 ';
213+ /* '⁃ ' */
217214 suffix: '';
218215}
219216
@@ -1200,8 +1197,8 @@ <h3 id=predefined-additive><span class=secno>1.6. </span> Predefined
12001197 < h2 id =predefined-counters > < span class =secno > 2. </ span > Complex Counter
12011198 Styles</ h2 >
12021199
1203- < p > While authors may define their own counter styles using the ‘ < code
1204- class =css > @counter-style</ code > ’ rule defined in the Lists spec < a
1200+ < p > While authors may define their own counter styles using the ‘ < code
1201+ class =css > @counter-style</ code > ’ rule defined in the Lists spec < a
12051202 href ="#CSS3LIST " rel =biblioentry > [CSS3LIST]<!--{{!CSS3LIST}}--> </ a > or
12061203 rely on the set of < a href ="#ua-stylesheet "> predefined counter styles</ a > ,
12071204 a few counter styles are described by rules that are too complex to be
@@ -1210,16 +1207,16 @@ <h2 id=predefined-counters><span class=secno>2. </span> Complex Counter
12101207
12111208 < p > The counter styles specified in this section have custom < i
12121209 title =counter-algorithm > algorithms for generating counter values</ i > , but
1213- are otherwise identical to a counter style defined via the ‘ < code
1214- class =css > @counter-style</ code > ’ rule, described below. For example,
1215- an author can reference one of these styles in an ‘ < code
1216- class =property > override</ code > ’ type, reusing the algorithm but
1217- swapping out some of the other descriptors.
1218-
1219- < p class =issue > Is it necessary to define ‘ < code
1220- class =css > ethiopian-numeric</ code > ’ and the longhand Chinese styles
1221- out to these ranges? I have no idea if it would be common to use them in
1222- the sorts of situations where you need counter-styles in the thousands or
1210+ are otherwise identical to a counter style defined via the ‘ < code
1211+ class =css > @counter-style</ code > ’ rule, described below. For example, an
1212+ author can reference one of these styles in an ‘ < code
1213+ class =property > override</ code > ’ type, reusing the algorithm but swapping
1214+ out some of the other descriptors.
1215+
1216+ < p class =issue > Is it necessary to define ‘ < code
1217+ class =css > ethiopian-numeric</ code > ’ and the longhand Chinese styles out
1218+ to these ranges? I have no idea if it would be common to use them in the
1219+ sorts of situations where you need counter-styles in the thousands or
12231220 higher. If they'll typically be used for only low-count use-cases, we can
12241221 simplify them by just making them "non-repeating" styles manually defined
12251222 out to 100 or so values. Alternately, the longhand Chinese styles can be
@@ -1228,13 +1225,13 @@ <h2 id=predefined-counters><span class=secno>2. </span> Complex Counter
12281225
12291226 < h3 id =symbol-counters > < span class =secno > 2.1. </ span > symbols</ h3 >
12301227
1231- < p > CSS 2.1 defined three single-symbol counter styles (‘ < a
1232- href ="#circle "> < code class =css > circle</ code > </ a > ’, ‘ < a
1233- href ="#disc "> < code class =css > disc</ code > </ a > ’ , and ‘ < a
1234- href ="#square "> < code class =css > square</ code > </ a > ’ ), but didn't
1235- define precisely how to render them, instead opting to describe generally
1236- how they should look and leaving it up to the UA to decide how to render
1237- the markers.
1228+ < p > CSS 2.1 defined three single-symbol counter styles (‘ < a
1229+ href ="#circle "> < code class =css > circle</ code > </ a > ’, ‘ < a
1230+ href ="#disc "> < code class =css > disc</ code > </ a > ’ , and ‘ < a
1231+ href ="#square "> < code class =css > square</ code > </ a > ’ ), but didn't define
1232+ precisely how to render them, instead opting to describe generally how
1233+ they should look and leaving it up to the UA to decide how to render the
1234+ markers.
12381235
12391236 < p > The < a href ="#ua-stylesheet "> Predefined Counter Styles</ a > section gives
12401237 normative definitions for these styles, but UAs may instead default to
@@ -1262,8 +1259,8 @@ <h3 id=symbol-counters><span class=secno>2.1. </span> symbols</h3>
12621259 < dd > A filled square, similar to ◾ U+25FE BLACK MEDIUM SMALL SQUARE.
12631260 </ dl >
12641261
1265- < h3 id =ethiopic-numeric > < span class =secno > 2.2. </ span > The ‘ < code
1266- class =property > ethiopic-numeric</ code > ’ counter style</ h3 >
1262+ < h3 id =ethiopic-numeric > < span class =secno > 2.2. </ span > The ‘ < code
1263+ class =property > ethiopic-numeric</ code > ’ counter style</ h3 >
12671264
12681265 < p > The Ethiopian numbering system is defined for all positive non-zero
12691266 numbers. The following algorithm converts decimal digits to ethiopic
@@ -1485,20 +1482,20 @@ <h3 id=cjk-counter-styles><span class=secno>2.3. </span> The Chinese
14851482 < dt > cjk-ideographic
14861483
14871484 < dd > For legacy reasons, this counter-style must be treated as an alias for
1488- ‘ < a href ="#trad-chinese-informal0 "> < code
1489- class =css > trad-chinese-informal</ code > </ a > ’ .
1485+ ‘ < a href ="#trad-chinese-informal0 "> < code
1486+ class =css > trad-chinese-informal</ code > </ a > ’ .
14901487 </ dl >
14911488
14921489 < p class =issue > Add an example to each of the above types.
14931490
14941491 < p > The Chinese longhand styles are defined over the range -9999 to 9999.
1495- For numbers outside this range, the ‘ < a href ="#cjk-decimal "> < code
1496- class =css > cjk-decimal</ code > </ a > ’ style is used. All of the styles
1497- are defined by almost identical algorithms (specified as a single
1498- algorithm here, with the differences called out when relevant), but use
1499- different sets of characters. The list following the algorithm gives the
1500- name of each counter style using this algorithm, and the individual
1501- character sets used by each style.
1492+ For numbers outside this range, the ‘ < a href ="#cjk-decimal "> < code
1493+ class =css > cjk-decimal</ code > </ a > ’ style is used. All of the styles are
1494+ defined by almost identical algorithms (specified as a single algorithm
1495+ here, with the differences called out when relevant), but use different
1496+ sets of characters. The list following the algorithm gives the name of
1497+ each counter style using this algorithm, and the individual character sets
1498+ used by each style.
15021499
15031500 < ol >
15041501 < li > If the counter value is 0, the representation is the character for 0
@@ -1521,8 +1518,8 @@ <h3 id=cjk-counter-styles><span class=secno>2.3. </span> The Chinese
15211518
15221519 < p > For all of these counter styles, the < i title =counter-suffix > suffix
15231520 descriptor</ i > is "、" U+3001, the < i title =counter-fallback > fallback
1524- descriptor</ i > is ‘ < a href ="#cjk-decimal "> < code
1525- class =css > cjk-decimal</ code > </ a > ’ , the < i
1521+ descriptor</ i > is ‘ < a href ="#cjk-decimal "> < code
1522+ class =css > cjk-decimal</ code > </ a > ’ , the < i
15261523 title =counter-lower-bound > lower bound descriptor</ i > is -9999, the < i
15271524 title =counter-upper-bound > upper bound descriptor</ i > is 9999, and the < i
15281525 title =counter-negative > negative sign</ i > is given in the table of symbols
@@ -1708,9 +1705,9 @@ <h3 id=cjk-counter-styles><span class=secno>2.3. </span> The Chinese
17081705 first "group".
17091706
17101707 < div class =note >
1711- < p > For reference, here are the first 120 values for the ‘ < a
1708+ < p > For reference, here are the first 120 values for the ‘ < a
17121709 href ="#simp-chinese-informal0 "> < code
1713- class =css > simp-chinese-informal</ code > </ a > ’ style:</ p >
1710+ class =css > simp-chinese-informal</ code > </ a > ’ style:</ p >
17141711
17151712 < pre >
17161713 1 一 41 四十一 81 八十一
@@ -1758,8 +1755,8 @@ <h3 id=cjk-counter-styles><span class=secno>2.3. </span> The Chinese
17581755 < div class =issue >
17591756 < p > It's possible, with some fallback hackery, to represent these styles
17601757 with a @counter-style rule. For example, the following 11 styles would
1761- serve to represent ‘ < a href ="#simp-chinese-informal0 "> < code
1762- class =css > simp-chinese-informal</ code > </ a > ’ between 0 and 999:</ p >
1758+ serve to represent ‘ < a href ="#simp-chinese-informal0 "> < code
1759+ class =css > simp-chinese-informal</ code > </ a > ’ between 0 and 999:</ p >
17631760
17641761 < pre >
17651762@counter-style simp-chinese-informal {
@@ -1830,13 +1827,13 @@ <h3 id=extended-cjk-longhand><span class=secno>3.1. </span> Extended CJK
18301827 < p > The Chinese and Japanese styles are defined for all numbers between
18311828 -10< sup > 16</ sup > and 10< sup > 16</ sup > , exclusive; the Korean styles are
18321829 defined for all non-negative numbers less than 10< sup > 16</ sup > . For
1833- numbers outside this range, the ‘ < a href ="#cjk-decimal "> < code
1834- class =css > cjk-decimal</ code > </ a > ’ style is used. All of the styles
1835- are defined by almost identical algorithms (specified as a single
1836- algorithm here, with the differences called out when relevant), but use
1837- different sets of characters. The list following the algorithm gives the
1838- name of each counter style using this algorithm, and the individual
1839- character sets used by each style.
1830+ numbers outside this range, the ‘ < a href ="#cjk-decimal "> < code
1831+ class =css > cjk-decimal</ code > </ a > ’ style is used. All of the styles are
1832+ defined by almost identical algorithms (specified as a single algorithm
1833+ here, with the differences called out when relevant), but use different
1834+ sets of characters. The list following the algorithm gives the name of
1835+ each counter style using this algorithm, and the individual character sets
1836+ used by each style.
18401837
18411838 < ol >
18421839 < li > If the counter value is 0, the representation is the character for 0
@@ -1884,8 +1881,8 @@ <h3 id=extended-cjk-longhand><span class=secno>3.1. </span> Extended CJK
18841881
18851882 < p > For all of these counter styles, the < i title =counter-suffix > suffix
18861883 descriptor</ i > is "、" U+3001, the < i title =counter-fallback > fallback
1887- descriptor</ i > is ‘ < a href ="#cjk-decimal "> < code
1888- class =css > cjk-decimal</ code > </ a > ’ , and the < i
1884+ descriptor</ i > is ‘ < a href ="#cjk-decimal "> < code
1885+ class =css > cjk-decimal</ code > </ a > ’ , and the < i
18891886 title =counter-negative > negative sign</ i > is given in the tables below, or
18901887 else is the initial value of the descriptor. For Chinese and Japanese, the
18911888 < i title =counter-lower-range > lower range bound descriptor</ i > is -9999
@@ -2406,19 +2403,19 @@ <h3 id=extended-numbered><span class=secno>3.2. </span> Extended
24062403 appropriate:
24072404
24082405 < ul >
2409- < li > ‘ < a href ="#circled-decimal "> < code
2410- class =property > circled-decimal</ code > </ a > ’
2406+ < li > ‘ < a href ="#circled-decimal "> < code
2407+ class =property > circled-decimal</ code > </ a > ’
24112408
2412- < li > ‘ < a href ="#dotted-decimal "> < code
2413- class =property > dotted-decimal</ code > </ a > ’
2409+ < li > ‘ < a href ="#dotted-decimal "> < code
2410+ class =property > dotted-decimal</ code > </ a > ’
24142411
2415- < li > ‘ < a href ="#double-circled-decimal "> < code
2416- class =property > double-circled-decimal</ code > </ a > ’
2412+ < li > ‘ < a href ="#double-circled-decimal "> < code
2413+ class =property > double-circled-decimal</ code > </ a > ’
24172414
2418- < li > ‘ < a href ="#filled-circled-decimal "> < code
2419- class =property > filled-circled-decimal</ code > </ a > ’
2415+ < li > ‘ < a href ="#filled-circled-decimal "> < code
2416+ class =property > filled-circled-decimal</ code > </ a > ’
24202417
2421- < li > ‘ < a href ="#parenthesized-decimal "> < code
2422- class =property > parenthesized-decimal</ code > </ a > ’
2418+ < li > ‘ < a href ="#parenthesized-decimal "> < code
2419+ class =property > parenthesized-decimal</ code > </ a > ’
24232420 </ ul >
24242421 <!-- ======================================================================= -->
0 commit comments