Skip to content

Commit c305db2

Browse files
committed
[css-counter-styles] Markup tweaks. Relax the restriction on coutner-style names to only exclude 'decimal' and 'none'.
--HG-- extra : rebase_source : bdae81225718e21b9dcd7eed7e3cb9dd20607490
1 parent 994aaf6 commit c305db2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

css-counter-styles/Overview.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ <h4 id=repeating><span class=secno>1.1.1. </span> repeating</h4>
416416
<pre>
417417
@counter-style <dfn id=triangle>triangle</dfn> {
418418
type: repeating;
419-
symbols: '‣';
419+
symbols: ;
420420
suffix: '';
421421
}
422422
</pre>
@@ -654,7 +654,7 @@ <h4 id=symbolic><span class=secno>1.1.4. </span> symbolic</h4>
654654
<pre>
655655
@counter-style <dfn id=footnote>footnote</dfn> {
656656
type: symbolic;
657-
symbols: '*' '⁑' '†' '‡';
657+
symbols: * ⁑ † ‡;
658658
suffix: '';
659659
}
660660
</pre>
@@ -680,8 +680,8 @@ <h4 id=symbolic><span class=secno>1.1.4. </span> symbolic</h4>
680680
<pre>
681681
@counter-style <dfn id=upper-alpha-legal>upper-alpha-legal</dfn> {
682682
type: symbolic;
683-
symbols: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M'
684-
'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z';
683+
symbols: A B C D E F G H I J K L M
684+
N O P Q R S T U V W X Y Z;
685685
}</pre>
686686

687687
<p>This style is identical to ‘<a href="#upper-alpha"><code
@@ -735,7 +735,7 @@ <h4 id=non-repeating><span class=secno>1.1.5. </span> non-repeating</h4>
735735
<pre>
736736
@counter-style <dfn id=box-corner>box-corner</dfn> {
737737
type: non-repeating;
738-
symbols: '◰' '◳' '◲' '◱';
738+
symbols: ◰ ◳ ◲ ◱;
739739
suffix: ':';
740740
}
741741
</pre>
@@ -818,7 +818,7 @@ <h4 id=additive><span class=secno>1.1.6. </span> additive</h4>
818818
<pre>
819819
@counter-style <dfn id=dice>dice</dfn> {
820820
type: additive;
821-
additive-symbols: 6 '⚅', 5 '⚄', 4 '⚃', 3 '⚂', 2 '⚁', 1 '⚀';
821+
additive-symbols: 6 , 5 , 4 , 3 , 2 , 1 ;
822822
suffix: '';
823823
}
824824
</pre>

css-counter-styles/Overview.src.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h4>
229229
<pre>
230230
@counter-style <dfn>triangle</dfn> {
231231
type: repeating;
232-
symbols: '‣';
232+
symbols: ;
233233
suffix: '';
234234
}
235235
</pre>
@@ -445,7 +445,7 @@ <h4>
445445
<pre>
446446
@counter-style <dfn>footnote</dfn> {
447447
type: symbolic;
448-
symbols: '*' '⁑' '†' '‡';
448+
symbols: * ⁑ † ‡;
449449
suffix: '';
450450
}
451451
</pre>
@@ -468,8 +468,8 @@ <h4>
468468
<pre>
469469
@counter-style <dfn>upper-alpha-legal</dfn> {
470470
type: symbolic;
471-
symbols: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M'
472-
'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z';
471+
symbols: A B C D E F G H I J K L M
472+
N O P Q R S T U V W X Y Z;
473473
}</pre>
474474

475475
<p>This style is identical to ''upper-alpha'' through the first 27 values, but they diverge after that, with ''upper-alpha'' going "AB", "AC", "AD", etc. Starting at the 53rd value, ''upper-alpha'' goes "BA", "BB", "BC", etc., while this style jumps up to the triple digits with "AAA", "BBB", "CCC", etc.
@@ -513,7 +513,7 @@ <h4>
513513
<pre>
514514
@counter-style <dfn>box-corner</dfn> {
515515
type: non-repeating;
516-
symbols: '◰' '◳' '◲' '◱';
516+
symbols: ◰ ◳ ◲ ◱;
517517
suffix: ':';
518518
}
519519
</pre>
@@ -581,7 +581,7 @@ <h4>
581581
<pre>
582582
@counter-style <dfn>dice</dfn> {
583583
type: additive;
584-
additive-symbols: 6 '⚅', 5 '⚄', 4 '⚃', 3 '⚂', 2 '⚁', 1 '⚀';
584+
additive-symbols: 6 , 5 , 4 , 3 , 2 , 1 ;
585585
suffix: '';
586586
}
587587
</pre>

0 commit comments

Comments
 (0)