|
24 | 24 |
|
25 | 25 | <h1>CSS Lists and Counters Module Level 3</h1> |
26 | 26 |
|
27 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 April 2011</h2> |
| 27 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 April 2011</h2> |
28 | 28 |
|
29 | 29 | <dl> |
30 | 30 | <dt>This version: |
31 | 31 |
|
32 | | - <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110423">http://www.w3.org/TR/2011/WD-css3-lists-20110423</a></dd> --> |
| 32 | + <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110426">http://www.w3.org/TR/2011/WD-css3-lists-20110426</a></dd> --> |
33 | 33 | <a |
34 | 34 | href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> |
35 | 35 |
|
@@ -686,13 +686,14 @@ <h4 id=ethiopic-numeric><span class=secno>4.3.1. </span> The ‘<code |
686 | 686 | <li>Concatenate the groups into one string. |
687 | 687 | </ol> |
688 | 688 |
|
689 | | - <p>This system is defined for all numbers greater than zero. For zero and |
690 | | - negative numbers, instead construct the representation of the counter |
691 | | - value using the ‘<code class=css>decimal</code>’ style. |
| 689 | + <p>For this system, the <a href="#lower-range-bound"><i |
| 690 | + title=counter-lower-bound>lower range bound descriptor</i></a> is 1, the |
| 691 | + <a href="#upper"><i title=counter-upper-bound>upper range bound |
| 692 | + descriptor</i></a> is infinity, and the rest of the descriptors have their |
| 693 | + initial value. |
692 | 694 |
|
693 | | - <p>The suffix for the ethiopic-numeric numbering systems is a dot (. U+002E |
694 | | - FULL STOP). <span class=issue>Is there a better suffix to use? <strong>The |
695 | | - alphabetic ethiopic systems use a different suffix.</strong></span> |
| 695 | + <p class=issue>Is there a better suffix to use than the initial (".")? The |
| 696 | + alphabetic ethiopic systems use a different suffix. |
696 | 697 |
|
697 | 698 | <div class=example> |
698 | 699 | <p>The decimal number 100, in ethiopic, is ፻ U+137B <!-- odd --></p> |
@@ -829,12 +830,14 @@ <h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK longhand |
829 | 830 | counter value. |
830 | 831 | </ol> |
831 | 832 |
|
832 | | - <p>For all of these counter styles, the suffix is "、" U+3001, the prefix |
833 | | - is the empty string, the fallback style is ‘<code |
834 | | - class=css>cjk-decimal</code>’, and the upper range bound is 9999 |
835 | | - 9999 9999 9999 (one less than 10<sup>16</sup>). For the Chinese and |
836 | | - Japanese styles, the lower range bound is -9999 9999 9999 9999 (one more |
837 | | - than -10<sup>16</sup>); for the Korean styles the lower range bound is 0. |
| 833 | + <p>For all of these counter styles, the <a href="#suffix"><i |
| 834 | + title=counter-suffix>suffix descriptor</i></a> is "、" U+3001 and the <a |
| 835 | + href="#fallback-style"><i title=counter-fallback>fallback |
| 836 | + descriptor</i></a> is ‘<code class=css>cjk-decimal</code>’. |
| 837 | + For Chinese and Japanese, the <i title=counter-lower-range>lower range |
| 838 | + bound descriptor</i> is -9999 9999 9999 9999 (-10<sup>16</sup>+1), while |
| 839 | + for Korean it's 0. For all of them, the <i title=counter-upper-range>upper |
| 840 | + range bound descriptor</i> is 9999 9999 9999 9999 (10<sup>16</sup>-1). |
838 | 841 |
|
839 | 842 | <p>The following tables define the characters used in these styles: |
840 | 843 |
|
@@ -2571,6 +2574,41 @@ <h4 id=alphabetic><span class=secno>10.1.3. </span> alphabetic</h4> |
2571 | 2574 | correctly.</p> |
2572 | 2575 | </div> |
2573 | 2576 |
|
| 2577 | + <div class=example> |
| 2578 | + <p>Alphabetic styles may also be used to simulate a fixed-width numeric |
| 2579 | + style:</p> |
| 2580 | + |
| 2581 | + <pre> |
| 2582 | +@counter-style fixed-decimal { |
| 2583 | + type: alphabetic; |
| 2584 | + glyphs: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9'; |
| 2585 | +} |
| 2586 | + |
| 2587 | +ol { |
| 2588 | + list-style: fixed-decimal; |
| 2589 | + counter-reset: list-item: 1111; |
| 2590 | +} |
| 2591 | + </pre> |
| 2592 | + |
| 2593 | + <p>This will produce lists that look like:</p> |
| 2594 | + |
| 2595 | + <pre> |
| 2596 | +0001. One |
| 2597 | +0002. Two |
| 2598 | +0003. Three |
| 2599 | +0004. Four |
| 2600 | +0005. Five |
| 2601 | +0006. Six |
| 2602 | + </pre> |
| 2603 | + |
| 2604 | + <p>Two-digit numbers start at value 11, three-digit numbers start at value |
| 2605 | + 111, etc..</p> |
| 2606 | + |
| 2607 | + <p class=issue>Should I instead explicitly provide a fixed-width numeric |
| 2608 | + counter type? I'd like to see if this sort of numbering is used in the |
| 2609 | + wild first.</p> |
| 2610 | + </div> |
| 2611 | + |
2574 | 2612 | <h4 id=symbolic><span class=secno>10.1.4. </span> symbolic</h4> |
2575 | 2613 |
|
2576 | 2614 | <p>If the type is ‘<code class=css>symbolic</code>’, the |
|
0 commit comments