Skip to content

Commit 0d48731

Browse files
committed
Switched the 'symbolic' example to more clearly illustrate the difference between symbolic and alphabetic lists.
1 parent 50112fc commit 0d48731

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

css3-lists/Overview.src.html

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,26 +1099,36 @@ <h4>
10991099
</ol>
11001100

11011101
<p>Finally, return <var>S</var>.</p>
1102-
1102+
11031103
<div class=example>
11041104
<p>An "unary" counter style can be defined as:</p>
11051105

11061106
<pre>
1107-
@counter-style <dfn>unary</dfn> {
1107+
@counter-style <dfn>upper-alpha-symbolic</dfn> {
11081108
type: symbolic;
1109-
glyphs: '|';
1109+
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';
11101110
}
11111111
</pre>
11121112

11131113
<p>It will then produce lists that look like:</p>
11141114

11151115
<pre>
1116-
|. One
1117-
||. Two
1118-
|||. Three
1119-
||||. Five
1120-
|||||. Six
1116+
A. One
1117+
B. Two
1118+
...
1119+
Z. Twenty-six
1120+
AA. Twenty-seven
1121+
BB. Twenty-eight
1122+
...
1123+
ZZ. Fifty-two
1124+
AAA. Fifty-three
1125+
BBB. Fifty-four
11211126
</pre>
1127+
1128+
<p class='note'>Note the difference between this and the alphabetic
1129+
<i>'upper-alpha'</i> style. The alphabetic style is identical through
1130+
27, but then continues with "AB, AC, AD...", and then at 53 begins
1131+
"BA, BB, BC...", etc. It doesn't reach three digits until 703.</p>
11221132
</div>
11231133

11241134
<p>The ''symbolic'' type will produce representations with sizes that are

0 commit comments

Comments
 (0)